April 2020
Beginner
316 pages
8h 20m
English
Another trick we can perform is making use of existing tests we've already written in order to help aid new tests, such as if we want to check something on our AddRecipeDetail view. But first, we need to get there.
Add the following new test to your test class:
func testCanAddRecipeImage() { testCanTapAddButton() app.buttons["accessibility.add.image.button"].tap()}
As you can see, we are simply calling an existing test, testCanTapAddButton(), to get to the AddRecipeView view. From there, ...
Read now
Unlock full access