Disabling status bar & navbar assertions in tests

Disabling OpenAppColdTest, OpenAppWarmTest, CloseImeAutoOpenWindowToHomeTest and CloseImeWindowToHomeTest assertions regarding nav bar and status bar always visible as seems to be failing.

Bug: b/12912591 b/12912587
Test: atest FlickerTests:CloseImeWindowToHomeTest FlickerTests:CloseImeAutoOpenWindowToHomeTest FlickerTests:OpenAppColdTest FlickerTests:OpenAppWarmTest
Change-Id: I87c3d8270072a2039ea530a31a17f01aa70daeff
This commit is contained in:
Antonella Dellanzo
2020-10-26 10:00:57 +01:00
parent 1905a06186
commit 5c1f0b693e
4 changed files with 8 additions and 16 deletions

View File

@@ -100,10 +100,8 @@ class CloseImeAutoOpenWindowToHomeTest(
Surface.ROTATION_0, bugId = 140855415)
statusBarLayerRotatesScales(configuration.startRotation,
Surface.ROTATION_0)
navBarLayerIsAlwaysVisible(configuration.startRotation !=
Surface.ROTATION_0)
statusBarLayerIsAlwaysVisible(configuration.startRotation !=
Surface.ROTATION_0)
navBarLayerIsAlwaysVisible(enabled = false)
statusBarLayerIsAlwaysVisible(enabled = false)
imeLayerBecomesInvisible(bugId = 141458352)
imeAppLayerBecomesInvisible(testApp, bugId = 153739621)
}

View File

@@ -106,10 +106,8 @@ class CloseImeWindowToHomeTest(
Surface.ROTATION_0, bugId = 140855415)
statusBarLayerRotatesScales(configuration.startRotation,
Surface.ROTATION_0)
navBarLayerIsAlwaysVisible(configuration.startRotation !=
Surface.ROTATION_0)
statusBarLayerIsAlwaysVisible(configuration.startRotation !=
Surface.ROTATION_0)
navBarLayerIsAlwaysVisible(enabled = false)
statusBarLayerIsAlwaysVisible(enabled = false)
imeLayerBecomesInvisible(bugId = 153739621)
imeAppLayerBecomesInvisible(testApp, bugId = 153739621)
}

View File

@@ -100,10 +100,8 @@ class OpenAppColdTest(
configuration.endRotation)
statusBarLayerRotatesScales(Surface.ROTATION_0,
configuration.endRotation)
navBarLayerIsAlwaysVisible(Surface.ROTATION_0 !=
configuration.endRotation)
statusBarLayerIsAlwaysVisible(Surface.ROTATION_0 !=
configuration.endRotation)
navBarLayerIsAlwaysVisible(enabled = false)
statusBarLayerIsAlwaysVisible(enabled = false)
wallpaperLayerBecomesInvisible(testApp)
}

View File

@@ -104,10 +104,8 @@ class OpenAppWarmTest(
configuration.endRotation)
statusBarLayerRotatesScales(Surface.ROTATION_0,
configuration.endRotation)
navBarLayerIsAlwaysVisible(Surface.ROTATION_0 !=
configuration.endRotation)
statusBarLayerIsAlwaysVisible(Surface.ROTATION_0 !=
configuration.endRotation)
navBarLayerIsAlwaysVisible(enabled = false)
statusBarLayerIsAlwaysVisible(enabled = false)
wallpaperLayerBecomesInvisible(testApp)
}