Skip to content

Commit f9faaf5

Browse files
romtsnclaude
andcommitted
fix(test): Make notification shade swipe more reliable
Use a shorter, faster swipe from the center-top (50%, 1%) to center (50%, 50%) with 1s duration instead of a slow full-screen swipe. Also increase retries from 3 to 5 to handle slower emulators. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 5146f0a commit f9faaf5

File tree

1 file changed

+8
-8
lines changed
  • sentry-android-integration-tests/sentry-uitest-android-critical/maestro

1 file changed

+8
-8
lines changed

sentry-android-integration-tests/sentry-uitest-android-critical/maestro/appStart.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@ name: App Start Tests
2727
- assertNotVisible: "Welcome!"
2828
- waitForAnimationToEnd
2929
- repeat:
30-
times: 3
30+
times: 5
3131
while:
3232
notVisible: "Sentry Test Notification"
3333
commands:
3434
- swipe:
35-
start: 90%, 0%
36-
end: 90%, 100%
37-
duration: 4000
35+
start: 50%, 1%
36+
end: 50%, 50%
37+
duration: 1000
3838
- tapOn: "Sentry Test Notification"
3939
- assertVisible: "App Start Type: WARM"
4040

@@ -50,14 +50,14 @@ name: App Start Tests
5050
- killApp
5151
- waitForAnimationToEnd
5252
- repeat:
53-
times: 3
53+
times: 5
5454
while:
5555
notVisible: "Sentry Test Notification"
5656
commands:
5757
- swipe:
58-
start: 90%, 0%
59-
end: 90%, 100%
60-
duration: 4000
58+
start: 50%, 1%
59+
end: 50%, 50%
60+
duration: 1000
6161
- tapOn: "Sentry Test Notification"
6262
- assertVisible: "App Start Type: COLD"
6363
# Test 5: Launch app after a broadcast receiver already created the application

0 commit comments

Comments
 (0)