You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 1b8668a
Browse filesBrowse the repository at this point in the historyBrowse files
ci(android): Run UI tests incl. replay on API 30 in AGP matrix, drop Sauce Labs UI job (#6492)
* ci(android): Run UI tests incl. replay on API 35 in AGP matrix, drop Sauce Labs UI job
Co-Authored-By: Roman Zavarnitsyn <roman.zavarnitsyn@sentry.io>
* ci(android): Pull replay snapshots even when the AGP matrix UI tests fail
android-emulator-runner runs each script line in its own shell and stops at
the first failing line, so a failing connectedReleaseAndroidTest skipped the
snapshot pull. Run the tests and the pull from one script that exits with the
tests' status.
#skip-changelog
* ci(android): Drop --daemon from the AGP matrix UI test run
Co-Authored-By: Roman Zavarnitsyn <roman.zavarnitsyn@sentry.io>
#skip-changelog
* ci(android): Run the AGP matrix UI tests on API 30 google_apis
API 30 google_apis captures replay frames with PixelCopy (verified in
#6495) and avoids the Android 15 ART method-tracing crash that the
profiling tests hit on API 35.
Co-Authored-By: Roman Zavarnitsyn <roman.zavarnitsyn@sentry.io>
* test(profiling): Run checkTimedOutProfile on emulators with a shorter timeout
The emulator skip was added in #3074 because the timed-out profile's
trace file was sometimes missing on emulators. Since #3478 timed-out
profiles are discarded and the test asserts no profile is sent, so it
no longer reads a trace file. Drop the skip, and add a test-only hook
to shorten the 30s profiling timeout so the test waits 5s instead of 35s.
Co-Authored-By: Roman Zavarnitsyn <roman.zavarnitsyn@sentry.io>
* test(uitest): Remove checkTimedOutProfile
The test only checks that a timed-out transaction profile is discarded,
which AndroidProfilerTest and AndroidTransactionProfilerTest already cover.
It was skipped on emulators, so nothing in CI ran it after the Sauce Labs
job was removed. Also reverts the test-only profiling timeout hook.
Co-Authored-By: Roman Zavarnitsyn <roman.zavarnitsyn@sentry.io>
---------
Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
Co-authored-by: Roman Zavarnitsyn <roman.zavarnitsyn@sentry.io>
Copy file name to clipboardExpand all lines: sentry-android-integration-tests/sentry-uitest-android/src/androidTest/java/io/sentry/uitest/android/BaseUiTest.kt
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -125,6 +125,9 @@ fun waitUntilIdle() {
125
125
Espresso.onIdle()
126
126
}
127
127
128
+
/** Whether sentry-android-replay is on the classpath (APPLY_SENTRY_INTEGRATIONS=true). */
Copy file name to clipboardExpand all lines: sentry-android-integration-tests/sentry-uitest-android/src/androidTest/java/io/sentry/uitest/android/EnvelopeTests.kt
Copy file name to clipboardExpand all lines: sentry-android-integration-tests/sentry-uitest-android/src/androidTest/java/io/sentry/uitest/android/ReplayTest.kt
+1-3Lines changed: 1 addition & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -18,9 +18,7 @@ import shark.ReferencePattern
18
18
classReplayTest : BaseUiTest() {
19
19
@Before
20
20
funsetup() {
21
-
// we can't run on GH actions emulator, because they don't allow capturing screenshots properly
Copy file name to clipboardExpand all lines: sentry-android-integration-tests/sentry-uitest-android/src/androidTest/java/io/sentry/uitest/android/UserFeedbackUiTest.kt
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -464,8 +464,7 @@ class UserFeedbackUiTest : BaseUiTest() {
0 commit comments