we’re currently migrating our CI jobs from Travis CI to Circle CI. The last job, which is about running UI tests for our Electron app, is giving me headaches. It’s working fine on Travis CI, but would fail 9 out of 10 times on Circle CI due to this error:
Error: User interaction is not allowed.
What we do is to bypass our login window by requesting login credentials programmatically and then we store those in the Keychain using
keytar and its
setPassword function. This almost all of the time just yields
Error: User interaction is not allowed..
The keychain it’s trying to write to is