-
Notifications
You must be signed in to change notification settings - Fork 214
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
Testing on Safari requires user intervention to proceed #1253
Comments
You are correct as I verified this is an issue on Mojave. A quick Google search shows other testing frameworks also have this issue: There is a possible workaround:
That being said I don't think this is something we will make progress on in the near term. |
This will exercise things like launching browsers (where they are currently working on CI). Add `osx` to the sharded `package:test` tests alongside `windows`. These exercise the majority of OS specific behavior. Skip existing safari tests due to a bug running tests in non-interactive environments. (#1253) Skip existing firefox tests due to a changed executable path. (Planned fix in #2276) Refactor a ternary chain to an if/else chain to add the extra conditions for firefox and safari.
In Catalina opening a file in Safari requires the user to confirm that they want to open the file in the Safari UI. Because of this testing on safari does not work anymore without manual user interaction. According to my research this has been broken since at least Mojave.
The text was updated successfully, but these errors were encountered: