Skip to content

Commit

Permalink
fix(e2e): Add longer timeout for test app start (#4297)
Browse files Browse the repository at this point in the history
  • Loading branch information
krystofwoldrich authored Nov 20, 2024
1 parent 4cfa8f3 commit e8464db
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
3 changes: 2 additions & 1 deletion dev-packages/e2e-tests/maestro/crash.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ jsEngine: graaljs
- tapOn: "Crash"

- launchApp
- assertVisible: "E2E Tests Ready"

- runFlow: utils/assertTestReady.yml
9 changes: 9 additions & 0 deletions dev-packages/e2e-tests/maestro/utils/assertTestReady.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
appId: ${APP_ID}
jsEngine: graaljs
---
- extendedWaitUntil:
visible: "E2E Tests Ready"
timeout: 300_000 # 5 minutes

# The RN 0.65 takes a long time to start on iOS.
# Even locally it can take up to 10 seconds.
4 changes: 1 addition & 3 deletions dev-packages/e2e-tests/maestro/utils/launchTestAppClear.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,4 @@ jsEngine: graaljs
sentryAuthToken: ${SENTRY_AUTH_TOKEN}
replaysOnErrorSampleRate: ${replaysOnErrorSampleRate}

- extendedWaitUntil:
visible: "E2E Tests Ready"
timeout: 120_000 # 2 minutes
- runFlow: assertTestReady.yml

0 comments on commit e8464db

Please sign in to comment.