Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(e2e): Add longer timeout for test app start #4297

Merged
merged 1 commit into from
Nov 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
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
Loading