From 14c90400bede85036a035daa6961ac8a1d93951d Mon Sep 17 00:00:00 2001 From: Simon Marquis Date: Sat, 16 Dec 2023 10:50:38 +0000 Subject: [PATCH] Move app screenshot tests to match dependencies declaration Fixes #990 --- .../ui/NiaAppScreenSizesScreenshotTests.kt | 2 +- ...ompactWidth_compactHeight_showsNavigationBar.png | Bin ...mpactWidth_expandedHeight_showsNavigationBar.png | Bin ...compactWidth_mediumHeight_showsNavigationBar.png | Bin ...andedWidth_compactHeight_showsNavigationRail.png | Bin ...ndedWidth_expandedHeight_showsNavigationRail.png | Bin ...pandedWidth_mediumHeight_showsNavigationRail.png | Bin ...ediumWidth_compactHeight_showsNavigationRail.png | Bin ...diumWidth_expandedHeight_showsNavigationRail.png | Bin ...mediumWidth_mediumHeight_showsNavigationRail.png | Bin 10 files changed, 1 insertion(+), 1 deletion(-) rename app/src/{testDemo => testDemoDebug}/kotlin/com/google/samples/apps/nowinandroid/ui/NiaAppScreenSizesScreenshotTests.kt (99%) rename app/src/{testDemo => testDemoDebug}/screenshots/compactWidth_compactHeight_showsNavigationBar.png (100%) rename app/src/{testDemo => testDemoDebug}/screenshots/compactWidth_expandedHeight_showsNavigationBar.png (100%) rename app/src/{testDemo => testDemoDebug}/screenshots/compactWidth_mediumHeight_showsNavigationBar.png (100%) rename app/src/{testDemo => testDemoDebug}/screenshots/expandedWidth_compactHeight_showsNavigationRail.png (100%) rename app/src/{testDemo => testDemoDebug}/screenshots/expandedWidth_expandedHeight_showsNavigationRail.png (100%) rename app/src/{testDemo => testDemoDebug}/screenshots/expandedWidth_mediumHeight_showsNavigationRail.png (100%) rename app/src/{testDemo => testDemoDebug}/screenshots/mediumWidth_compactHeight_showsNavigationRail.png (100%) rename app/src/{testDemo => testDemoDebug}/screenshots/mediumWidth_expandedHeight_showsNavigationRail.png (100%) rename app/src/{testDemo => testDemoDebug}/screenshots/mediumWidth_mediumHeight_showsNavigationRail.png (100%) diff --git a/app/src/testDemo/kotlin/com/google/samples/apps/nowinandroid/ui/NiaAppScreenSizesScreenshotTests.kt b/app/src/testDemoDebug/kotlin/com/google/samples/apps/nowinandroid/ui/NiaAppScreenSizesScreenshotTests.kt similarity index 99% rename from app/src/testDemo/kotlin/com/google/samples/apps/nowinandroid/ui/NiaAppScreenSizesScreenshotTests.kt rename to app/src/testDemoDebug/kotlin/com/google/samples/apps/nowinandroid/ui/NiaAppScreenSizesScreenshotTests.kt index dcbc1e5c0..63a7c7f91 100644 --- a/app/src/testDemo/kotlin/com/google/samples/apps/nowinandroid/ui/NiaAppScreenSizesScreenshotTests.kt +++ b/app/src/testDemoDebug/kotlin/com/google/samples/apps/nowinandroid/ui/NiaAppScreenSizesScreenshotTests.kt @@ -154,7 +154,7 @@ class NiaAppScreenSizesScreenshotTests { composeTestRule.onRoot() .captureRoboImage( - "src/testDemo/screenshots/$screenshotName.png", + "src/testDemoDebug/screenshots/$screenshotName.png", roborazziOptions = DefaultRoborazziOptions, ) } diff --git a/app/src/testDemo/screenshots/compactWidth_compactHeight_showsNavigationBar.png b/app/src/testDemoDebug/screenshots/compactWidth_compactHeight_showsNavigationBar.png similarity index 100% rename from app/src/testDemo/screenshots/compactWidth_compactHeight_showsNavigationBar.png rename to app/src/testDemoDebug/screenshots/compactWidth_compactHeight_showsNavigationBar.png diff --git a/app/src/testDemo/screenshots/compactWidth_expandedHeight_showsNavigationBar.png b/app/src/testDemoDebug/screenshots/compactWidth_expandedHeight_showsNavigationBar.png similarity index 100% rename from app/src/testDemo/screenshots/compactWidth_expandedHeight_showsNavigationBar.png rename to app/src/testDemoDebug/screenshots/compactWidth_expandedHeight_showsNavigationBar.png diff --git a/app/src/testDemo/screenshots/compactWidth_mediumHeight_showsNavigationBar.png b/app/src/testDemoDebug/screenshots/compactWidth_mediumHeight_showsNavigationBar.png similarity index 100% rename from app/src/testDemo/screenshots/compactWidth_mediumHeight_showsNavigationBar.png rename to app/src/testDemoDebug/screenshots/compactWidth_mediumHeight_showsNavigationBar.png diff --git a/app/src/testDemo/screenshots/expandedWidth_compactHeight_showsNavigationRail.png b/app/src/testDemoDebug/screenshots/expandedWidth_compactHeight_showsNavigationRail.png similarity index 100% rename from app/src/testDemo/screenshots/expandedWidth_compactHeight_showsNavigationRail.png rename to app/src/testDemoDebug/screenshots/expandedWidth_compactHeight_showsNavigationRail.png diff --git a/app/src/testDemo/screenshots/expandedWidth_expandedHeight_showsNavigationRail.png b/app/src/testDemoDebug/screenshots/expandedWidth_expandedHeight_showsNavigationRail.png similarity index 100% rename from app/src/testDemo/screenshots/expandedWidth_expandedHeight_showsNavigationRail.png rename to app/src/testDemoDebug/screenshots/expandedWidth_expandedHeight_showsNavigationRail.png diff --git a/app/src/testDemo/screenshots/expandedWidth_mediumHeight_showsNavigationRail.png b/app/src/testDemoDebug/screenshots/expandedWidth_mediumHeight_showsNavigationRail.png similarity index 100% rename from app/src/testDemo/screenshots/expandedWidth_mediumHeight_showsNavigationRail.png rename to app/src/testDemoDebug/screenshots/expandedWidth_mediumHeight_showsNavigationRail.png diff --git a/app/src/testDemo/screenshots/mediumWidth_compactHeight_showsNavigationRail.png b/app/src/testDemoDebug/screenshots/mediumWidth_compactHeight_showsNavigationRail.png similarity index 100% rename from app/src/testDemo/screenshots/mediumWidth_compactHeight_showsNavigationRail.png rename to app/src/testDemoDebug/screenshots/mediumWidth_compactHeight_showsNavigationRail.png diff --git a/app/src/testDemo/screenshots/mediumWidth_expandedHeight_showsNavigationRail.png b/app/src/testDemoDebug/screenshots/mediumWidth_expandedHeight_showsNavigationRail.png similarity index 100% rename from app/src/testDemo/screenshots/mediumWidth_expandedHeight_showsNavigationRail.png rename to app/src/testDemoDebug/screenshots/mediumWidth_expandedHeight_showsNavigationRail.png diff --git a/app/src/testDemo/screenshots/mediumWidth_mediumHeight_showsNavigationRail.png b/app/src/testDemoDebug/screenshots/mediumWidth_mediumHeight_showsNavigationRail.png similarity index 100% rename from app/src/testDemo/screenshots/mediumWidth_mediumHeight_showsNavigationRail.png rename to app/src/testDemoDebug/screenshots/mediumWidth_mediumHeight_showsNavigationRail.png