-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace Accompanist TestHarness with DeviceConfigurationOverride #1230
Conversation
Change-Id: I838b81bf8e7fd7cb135f422653a8d8041829b28b
Change-Id: I6742d5e221f86a019f44d3e623609bf76d2a3a2a
.../testDemo/kotlin/com/google/samples/apps/nowinandroid/ui/NiaAppScreenSizesScreenshotTests.kt
Show resolved
Hide resolved
Change-Id: Ib1bbe4ad0d823c632d387587aa55c5eeb39e4b8d
Change-Id: Ibf93c1b65250e6527e34bc90602c1b1001b2df46
.../testDemo/kotlin/com/google/samples/apps/nowinandroid/ui/NiaAppScreenSizesScreenshotTests.kt
Outdated
Show resolved
Hide resolved
…i/NiaAppScreenSizesScreenshotTests.kt Co-authored-by: Alex Vanyo <vanyo@google.com>
77ef6e7
to
6810e48
Compare
* main: (37 commits) Disable animations of instrumented tests (#1167) Bump gradle/wrapper-validation-action from 1 to 2 Remove unused release variable. Fixes #1231 Apply Composable Parameter Ordering Guidelines Remove kotlinx-coroutines-guava dependency from :sync:work Add explicit guava-android dependency for :sync:work Extract ScreenshotHelper to separate testing module Update AGP to 8.3.0 Remove Insert function - Insert is only used in test. - Upsert do same thing as Insert. 🤖 Updates baselines for Dependency Guard Bump the kotlin-ksp-compose group with 6 updates 🤖 Updates baselines for Dependency Guard Bump hilt from 2.50 to 2.51 Bump com.google.truth:truth from 1.1.5 to 1.4.2 Move java to kotlin folder. Remove disk usage testing Figuring out what is using 66Gb in the runner Dpm Improve converting to kotlin timezone Use trySend multiple times ... Change-Id: If3f564108d42675ba55ef242f0d06f04aff45c4a
6810e48
to
2d610b0
Compare
.../testDemo/kotlin/com/google/samples/apps/nowinandroid/ui/NiaAppScreenSizesScreenshotTests.kt
Outdated
Show resolved
Hide resolved
Change-Id: I335f9f5da1ff3f2574acca8e3fcb27b949a07c7a
Change-Id: I98a9b9fa1de5cc0bb3a3caa7d795053fd784b238
Instrumented tests fail when I check out the code and run them locally. Is there a way to kick Github Actions? "Show all checks" is only showing the |
@jdkoren this is because of this issue: If you want to check previous builds, you can click the ❌ next to the commit id in this page. |
Instrumented tests are failing with:
Root cause: Updating to |
Change-Id: I05eb2993c41574a1ec9973e8dca3290d31ffc21f
Change-Id: Ie49b67981929fd3932ce3da68571a6305cf67aef
Combined test coverage report
Files
|
Compose UI 1.7.0-alpha02 added the DeviceConfigurationOverride API which replaces the Accompanist TestHarness API.
This mostly involves changing
to
Full migration guide here.
I have:
TestHarness
withDeviceConfigurationOverride
Fixes #1201