Align the background color component name from shell and flicker test.
The background color layer in DefaultTransitionHandler was renamed to animation-background, update the component name in TransitionTest to make they align. Bug: 289408547 Test: atest FlickerTests:TaskTransitionTest Change-Id: I3d3af08880c5f2b94b17933fec04901c16e59c62
This commit is contained in:
committed by
Wei Sheng Shih
parent
b698508cb3
commit
40f4ec916c
@@ -121,7 +121,7 @@ class TaskTransitionTest(flicker: LegacyFlickerTest) : BaseTest(flicker) {
|
||||
@FlakyTest(bugId = 265007895)
|
||||
@Test
|
||||
fun transitionHasColorBackground() {
|
||||
val backgroundColorLayer = ComponentNameMatcher("", "Animation Background")
|
||||
val backgroundColorLayer = ComponentNameMatcher("", "animation-background")
|
||||
val displayBounds = WindowUtils.getDisplayBounds(flicker.scenario.startRotation)
|
||||
flicker.assertLayers {
|
||||
this.invoke("LAUNCH_NEW_TASK_ACTIVITY coversExactly displayBounds") {
|
||||
|
||||
Reference in New Issue
Block a user