I hate to semi-necro this topic, but has anyone had any luck using fastlane’s snapshot tool with Ionic / Cordova?
When I try and record a UI test, half of the buttons I press (e.g. items in a list) show up as element.tap()
which is useless, because element()
is only defined once, so it’s basically doing repeated taps on an element on another page.
I’d just plough through this and use the simulator, but the Macbook I have is hopelessly slow (it’s a 2009 Macbook with 2gb of RAM – I bought the bare minimum I needed to build and test on a real device, then submit to the app store)
Any suggestions?
EDIT: I wrote a blog post on making iOS screenshots using Firefox and the ionic serve
command. It’s not the best way to go about it, but with a really slow Mac like mine, I was determined not to use the simulator.