Skip to content

Instantly share code, notes, and snippets.

@aludwiko
Created September 29, 2020 09:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aludwiko/da5a536ff10a179d4c231a6c036d821e to your computer and use it in GitHub Desktop.
Save aludwiko/da5a536ff10a179d4c231a6c036d821e to your computer and use it in GitHub Desktop.
val search = exec(goToMainPage)
.exec(findComputer("macbook"))
.exec(editComputer(6))
val jumpBetweenPages = exec(goToPage(1))
.exec(goToPage(2))
.exec(goToPage(3))
.exec(goToPage(10))
val addComputer = exec(goToMainPage)
.exec(goToCreateNewComputerPage)
.exec(createNewComputer("Awesome computer"))
val scn =
scenario("Example scenario")
.exec(search, jumpBetweenPages, addComputer)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment