mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-17 23:47:02 +05:30
Drop default item checks from tests
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
bb80b42426
commit
2450512059
1 changed files with 0 additions and 11 deletions
|
@ -15,16 +15,6 @@ class MainActivityTest {
|
|||
@get:Rule
|
||||
val composeTestRule = createAndroidComposeRule<MainActivity>(disableTransitions = true)
|
||||
|
||||
@Test
|
||||
fun test_default_item() {
|
||||
composeTestRule.setContent {
|
||||
TodoTheme {
|
||||
TodoApp()
|
||||
}
|
||||
}
|
||||
onNodeWithText("Default item").assertIsDisplayed()
|
||||
}
|
||||
|
||||
@Test
|
||||
fun test_item_addition() {
|
||||
composeTestRule.setContent {
|
||||
|
@ -32,7 +22,6 @@ class MainActivityTest {
|
|||
TodoApp()
|
||||
}
|
||||
}
|
||||
onNodeWithText("Default item").assertIsDisplayed()
|
||||
onNode(hasTestTag("fab")).performClick()
|
||||
onNodeWithText("Item 2").assertIsDisplayed()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue