From 80b7988c00200903e0770c87716c60a0e168378e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jose=20Alc=C3=A9rreca?= Date: Tue, 4 Jun 2024 08:07:49 +0000 Subject: [PATCH] Removes espresso device altogether Change-Id: Ib379c8dc0dc44f0871a0e6db5e0ac1317053ad73 --- .../google/samples/apps/nowinandroid/ui/EdgeToEdgeTest.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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) {