Skip to content

Commit 4b8afe7

Browse files
romtsnclaude
andcommitted
fix(test): Use original swipe values with home reset between retries
Restore the original swipe values (90%,0% -> 90%,100%, 4s) that are proven to work on main, but keep the pressKey:home + waitForAnimationToEnd before each swipe to prevent quick settings accumulation. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 2a80310 commit 4b8afe7

File tree

1 file changed

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

1 file changed

+12
-12
lines changed

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

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,18 @@ name: App Start Tests
3333
- assertNotVisible: "Welcome!"
3434
- waitForAnimationToEnd
3535
- repeat:
36-
times: 5
36+
times: 3
3737
while:
3838
notVisible: "Sentry Test Notification"
3939
commands:
40-
# Reset to home screen first to prevent swipes from accumulating
40+
# Reset to home screen to prevent swipes from accumulating
4141
# into quick settings expansion
4242
- pressKey: home
43-
- swipe:
44-
start: 50%, 0%
45-
end: 50%, 40%
46-
duration: 500
4743
- waitForAnimationToEnd
44+
- swipe:
45+
start: 90%, 0%
46+
end: 90%, 100%
47+
duration: 4000
4848
- tapOn: "Sentry Test Notification"
4949
- assertVisible: "App Start Type: WARM"
5050

@@ -66,18 +66,18 @@ name: App Start Tests
6666
- killApp
6767
- waitForAnimationToEnd
6868
- repeat:
69-
times: 5
69+
times: 3
7070
while:
7171
notVisible: "Sentry Test Notification"
7272
commands:
73-
# Reset to home screen first to prevent swipes from accumulating
73+
# Reset to home screen to prevent swipes from accumulating
7474
# into quick settings expansion
7575
- pressKey: home
76-
- swipe:
77-
start: 50%, 0%
78-
end: 50%, 40%
79-
duration: 500
8076
- waitForAnimationToEnd
77+
- swipe:
78+
start: 90%, 0%
79+
end: 90%, 100%
80+
duration: 4000
8181
- tapOn: "Sentry Test Notification"
8282
- assertVisible: "App Start Type: COLD"
8383
# Test 5: Launch app after a broadcast receiver already created the application

0 commit comments

Comments
 (0)