Super basic demo project to evaluate automated UI tests in Xcode 7
This test visits both Orange and Blue screens:
- Tap on "Orange"
- Tap on back button
- Tap on "Blue"
- Tap on back button
This test navigates to the Blue screen twice before visiting the Orange screen:
- Tap on "Blue"
- Tap on back button
- Tap on "Blue"
- Tap on back button
- Tap on "Orange"
- Tap on back button
In this case, Orange and Blue buttons are referenced by their label, so the possition on screen does not affect the test. However, renaming their title will make the test fail, as expected.