Merge "Disabling status bar & navbar assertions in tests"

This commit is contained in:
Antonella Dellanzo
2020-10-26 11:02:31 +00:00
committed by Android (Google) Code Review
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)
}