Skip to content

Commit d7d4236

Browse files
committed
retry swiping
1 parent 4d1e949 commit d7d4236

2 files changed

Lines changed: 21 additions & 8 deletions

File tree

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
platform:
2+
android:
3+
disableAnimations: true

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

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,15 @@ name: App Start Tests
2525
- tapOn: "Trigger Notification"
2626
- tapOn: "Finish Activity"
2727
- assertNotVisible: "Welcome!"
28-
- swipe:
29-
start: 50%, 0%
30-
end: 50%, 90%
31-
duration: 2000
28+
- repeat:
29+
times: 3
30+
while:
31+
notVisible: "Sentry Test Notification"
32+
commands:
33+
- swipe:
34+
start: 0%, 0%
35+
end: 0%, 60%
36+
duration: 4000
3237
- tapOn: "Sentry Test Notification"
3338
- assertVisible: "App Start Type: WARM"
3439

@@ -41,10 +46,15 @@ name: App Start Tests
4146
- tapOn: "Trigger Notification"
4247
- tapOn: "Finish Activity"
4348
- killApp
44-
- swipe:
45-
start: 50%, 0%
46-
end: 50%, 90%
47-
duration: 2000
49+
- repeat:
50+
times: 3
51+
while:
52+
notVisible: "Sentry Test Notification"
53+
commands:
54+
- swipe:
55+
start: 0%, 0%
56+
end: 0%, 60%
57+
duration: 4000
4858
- tapOn: "Sentry Test Notification"
4959
- assertVisible: "App Start Type: COLD"
5060
# Test 5: Launch app after a broadcast receiver already created the application

0 commit comments

Comments
 (0)