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

CircleCI doesn't have permissions #34

Closed
hbk619 opened this issue Sep 7, 2024 · 0 comments · Fixed by #35
Closed

CircleCI doesn't have permissions #34

hbk619 opened this issue Sep 7, 2024 · 0 comments · Fixed by #35

Comments

@hbk619
Copy link
Contributor

hbk619 commented Sep 7, 2024

Issue

When running with the latest MacOS orb on circle CI the machine agent doesn't have permissions to do anything

Setup:

  • NPM version: N/A
  • OS Platform: Circle CI Macos
  • OS Release: 14

Details

Using the circleci Macos orb 2.5.2 when running guidepup/setup it fails to enable Do Not Disturb with a system dialog asking for permission for .machine-agent. If you ignore DND it fails to control VoiceOver etc. The full path is /private/tmp/.machine-agent.

I'll raise a PR to add that process to the list :)

hbk619 added a commit to hbk619/guidepup-setup that referenced this issue Sep 7, 2024
CircleCI runs a process called '.machine-agent' which needs permissions to do all the things required for the test.

I created a variable to make it clearer what this path is for.
The macos orb[1] has an 'add-permission' command but it's hard coded to expect a bundle id, not a path to an executable so we can't use it.

Some permissions can be got from

      - macos/add-uitest-permissions
      - macos/add-safari-permissions
      - macos/add-voiceover-permissions

but not enough for a VoiceOver test

[1]: https://circleci.com/developer/orbs/orb/circleci/macos
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

Successfully merging a pull request may close this issue.

1 participant