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

[Cavy + Expo] iOS system prompt is blocking tests execution for cavy run-ios --skipbuild #340

Open
piotr-sobczyk opened this issue Nov 10, 2022 · 0 comments

Comments

@piotr-sobczyk
Copy link

We're following the instructions of running cavy with Expo project.

expo run:ios
cavy run-ios --skipbuild

But the test fail on our CI (GH Actions) with the timeout:

No response from Cavy within 10 minutes.

because the application in the simulator get stuck with the "Should we open in <app_name>" system notification that can only be confirmed with a manual action.

image

Is there any way to programatically close that system prompt and move on with running the tests?

After doing some experimentation I figured that the prompt does not show up when started with react-native run-ios (which is the default command run by cavy if there is no --skipbuild flag). However this is not our case and we need to work with expo commands like expo start and unfortunately they are triggering that prompt on a fresh simulator instance 😢 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant