Last active
January 2, 2018 10:20
-
-
Save sliskiCode/541ea5364fffd718d92b0694fa072b7e to your computer and use it in GitHub Desktop.
6 magic sugars that can make your Kotlin codebase happier #26
This file contains hidden or 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
class SearchTest : UITest() { | |
@Before | |
fun setup() { | |
navigation { | |
openScreenOne() | |
} | |
} | |
@Test | |
fun `shows searched items`() { | |
val searchQuery = "foo" | |
toolbar { | |
} openSearch { | |
type(searchQuery) | |
} | |
screenOne { | |
hasItemWithText(searchQuery) | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment