diff --git a/app/src/androidTest/kotlin/com/google/samples/apps/nowinandroid/ui/EdgeToEdgeTest.kt b/app/src/androidTest/kotlin/com/google/samples/apps/nowinandroid/ui/EdgeToEdgeTest.kt index 9ef5e5554..2bc90cea9 100644 --- a/app/src/androidTest/kotlin/com/google/samples/apps/nowinandroid/ui/EdgeToEdgeTest.kt +++ b/app/src/androidTest/kotlin/com/google/samples/apps/nowinandroid/ui/EdgeToEdgeTest.kt @@ -159,21 +159,21 @@ class EdgeToEdgeTest { // } private fun runFoldableTests(apiName: String) { - onDevice().setClosedMode() + //onDevice().setClosedMode() screenshotSystemBar("edgeToEdge_Foldable_closed_system_$apiName") forceThreeButtonNavigation() screenshotNavigationBar("edgeToEdge_Foldable_closed_nav3button_$apiName") forceGestureNavigation() screenshotNavigationBar("edgeToEdge_Foldable_closed_navGesture_$apiName") - onDevice().setFlatMode() + //onDevice().setFlatMode() enableDemoMode() // Flat mode resets demo mode! screenshotSystemBar("edgeToEdge_Foldable_flat_system_$apiName") forceThreeButtonNavigation() screenshotNavigationBar("edgeToEdge_Foldable_flat_nav3button_$apiName") forceGestureNavigation() screenshotNavigationBar("edgeToEdge_Foldable_flat_navGesture_$apiName") - onDevice().setClosedMode() + //onDevice().setClosedMode() } private fun screenshotSystemBar(screenshotFileName: String) {