Skip to content

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

@piotr-sobczyk

Description

@piotr-sobczyk

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 😢 .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions