Skip to content

Commit 3bbb5e9

Browse files
committed
Add a delay for iOS platform to ensure replays are available before the api call
1 parent 00b59eb commit 3bbb5e9

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

dev-packages/e2e-tests/maestro/utils/assertEventIdVisible.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,13 @@ jsEngine: graaljs
1010
id: "eventId"
1111
- assertTrue: ${maestro.copiedText}
1212

13+
# Add a delay for iOS platform to ensure replays are available before the api call
14+
- evalScript: |
15+
if (maestro.platform === "iOS") {
16+
maestro.sleep(10000);
17+
}
18+
true;
19+
1320
- runScript:
1421
file: sentryApi.js
1522
env:

0 commit comments

Comments
 (0)