Playing Appium with Tigerspike's FlickrBrowser
app.
This repo contains iOS UI tests comparying Flickr photos endpoint with what app returns. It contains JUnit tests for rest.
Mac OSX El Capitan and the following things installed:
- Appium 1.5.3
- Maven 3
- Java 1.7
It might work with higher version of Appium and OSX, however not checked.
Setup your capabilities in app/app.properties.
- Launch Appium for iOS
- Execute from command line
mvn clean test
To execute only non-buggy scenarios run:
mvn clean test -Dcucumber.options="--tags ~@ignored"
-
Even though in firewall settings the app accepts incoming connections, still a popup keeps being displayed. Workaround: disable firewall (not recommended permanently).
-
The given Flickr photos endpoint can't be trusted. Given test data which was entered and is not modified, I should be getting that same test data back in response - if anything, in a wider set - but it happens it does not come back at all.
-
searchTextField.submit()
does not work:Method is not implemented
exception thrown. Workaround: usingsearchTextField.sendKeys("\n")
instead. -
Using
PageFactory
's search mechanisms to get title text does not work. Workaround: using driver's regularfindElementByXpath()
instead.