Created
November 12, 2020 12:26
-
-
Save stoefln/45ebe0648bc11983e9fdab462c4b3bcf to your computer and use it in GitHub Desktop.
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
fun shouldPassOnNoInternetScanTest() = | |
beforeTest { | |
activityTestRule.launchActivity(null) | |
}.afterTest { | |
// cleanup | |
}.run { | |
step("Open Next Screen") { | |
MainScreen { | |
nextButton { | |
isVisible() | |
click() | |
} | |
} | |
} | |
step("Click logout button to log out") { | |
SimpleScreen { | |
logoutButton { | |
isVisible() | |
click() | |
} | |
} | |
} | |
// ... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment