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

Improve patrol setup instruction #1897

Closed
piotruela opened this issue Nov 14, 2023 · 1 comment
Closed

Improve patrol setup instruction #1897

piotruela opened this issue Nov 14, 2023 · 1 comment
Assignees
Labels
docs Concerns doc comments, READMEs, or docs package: patrol Related to the patrol package (native automation, test bundling)

Comments

@piotruela
Copy link
Collaborator

piotruela commented Nov 14, 2023

Use case

When setting up a patrol in an iOS project, user often encounter recurring issues. Especially in the case of an application that has flavors.

Proposal

It would be helpful to include information in the instructions on how to resolve them.

  • The emulator cloning itself when running patrol tests (i.e. here) -> Solution is to disable parallel execution for all schemes (if project has multiple),
  • The app launches, but the tests are not being executed (i.e. here) -> Solution is to remove FLUTTER_TARGET from all Build Configurations for Runner,
  • Error while performing the tests using XCode 15:
    error: Sandbox: dart(43386) deny(1) file-read-data /Users/user/project/example_project/build/ios_integ/Build/Products/Debug-tst-iphonesimulator/Flutter.framework/Flutter (in target 'RunnerUITests' from project 'Runner')
    
    -> Solution is to disable User Script Sandboxing for RunnerUITests in Build Settings
@bartekpacia bartekpacia added the docs Concerns doc comments, READMEs, or docs label Nov 16, 2023
@mateuszwojtczak mateuszwojtczak added the package: patrol Related to the patrol package (native automation, test bundling) label Nov 16, 2023
@piotruela piotruela self-assigned this Dec 6, 2023
Copy link

github-actions bot commented Jan 3, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar problem, please file a new issue. Make sure to follow the template and provide all the information necessary to reproduce the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
docs Concerns doc comments, READMEs, or docs package: patrol Related to the patrol package (native automation, test bundling)
Projects
None yet
Development

No branches or pull requests

3 participants