alexrothenberg / motion-addressbook

MIT License
89 stars 30 forks source link

Specs should not demand manual authorization for AB access #62

Open jmay opened 10 years ago

jmay commented 10 years ago

Haven't yet figured out a way to bypass the iOS access permissions prompt on the simulator, which is necessary to fully automate the test suite.

Tried to find a way to trigger an automatic click on the permissions dialog, but no success so far.

This looks promising, but I haven't been able to get it to work in RM: https://groups.google.com/forum/#!topic/kif-framework/xayP4VVBPyg

alexrothenberg commented 10 years ago

I wonder if there's a way to use applescript to automate the user interaction. Timing might be tricky & it is a hack.

jmay commented 10 years ago

I had a conversation with Eloy Duran on this. There's also a facility in Xcode for some sort of external Javascript automation, but we couldn't get it to work. I'd really like to find some mechanism that would allow Travis to run the test suite.