Created
January 2, 2019 21:07
-
-
Save thecb4/51c046c9c36d926ac2227d0762f3d01f to your computer and use it in GitHub Desktop.
testSelectThor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func testSelectThor() { | |
let movieTitle = "Thor" | |
let user = Scenario.user | |
let app = Scenario.app | |
user.login() | |
user.wait(5, for: [app.movieTable.existance]) | |
user.swipeToShowSearch() | |
user.wait(10, for: [app.searchBar.existance]) | |
user.search(for: movieTitle) | |
user.wait(10, for: [app.movie(titled: movieTitle).existance]) | |
user.select(movieTitle) | |
user.wait(10, for: [app.comments(containing: "awesome").existance]) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment