moredip/Frank — pull request #105 by krakas (2012-06-13 05:47:58+00:00)
Title: Minor fixes for Shelley

Hey Pete,

I'm back :)

I just fixed a few minor things here, mostly to give shelley a better support:
- added short hand notation support for alert view/action sheet to shelley (e.g. When I touch the "Logout" alert view button step). These were dead simple, just add the missing name/classes to SYParser
- Something that looked like a typo in the "I should see an alert view titled" step. Basically, it was matching the alert view by message rather than title. Just swapped title/message and it works fine (granted that you want to check against the title, not the message, of course)
- Also, I've added a sleep 1 to When I navigate back step, using that with shelley causes the navigation stack to freak out when you tap it more than once. I guess the second tap happens before the pop animation has finished, so you end up in a weird state, at level - 2, but with the title of -1.
Note that this sounds more like a UIKit issues (it usually doesn't appreciate it when you monkey with the stack in the middle of a navigation animation), so it most likely also affect UIQuery.

I gotta say, Frank really is awesome, just played a couple of hours automating an app, it's dead simple and I actually got a decent set of coverage in... Great job man!

Enjoy WWDC and say hi to Tim Cook for me :)