Created
August 9, 2021 13:43
-
-
Save BorisOsipov/2a23e9e813c03964cd1bbd043cb4c150 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
@Test | |
fun shouldPassOnNoInternetScanTest() = | |
beforeTest { | |
activityTestRule.launchActivity(null) | |
// some things with the state | |
}.afterTest { | |
// some things with the state | |
}.run { | |
step("Open Simple Screen") { | |
MainScreen { | |
nextButton { | |
isVisible() | |
click() | |
} | |
} | |
} | |
step("Click button_1 and check button_2") { | |
SimpleScreen { | |
button1 { | |
click() | |
} | |
button2 { | |
isVisible() | |
} | |
} | |
} | |
step("Click button_2 and check edit") { | |
SimpleScreen { | |
button2 { | |
click() | |
} | |
} | |
} | |
step("Check all possibilities of edit") { | |
scenario( | |
CheckEditScenario() | |
) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment