Skip to content

Commit

Permalink
Updating tag name from mapScreen to home_screen
Browse files Browse the repository at this point in the history
  • Loading branch information
ntissieres committed Apr 12, 2024
1 parent 43c615e commit 2dd123d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class MainActivityTest {
composeTestRule.onNodeWithTag("action-button").performClick()

// The map screen should be displayed
composeTestRule.onNodeWithTag("mapScreen").assertIsDisplayed()
composeTestRule.onNodeWithTag("home_screen").assertIsDisplayed()
}

@Test
Expand All @@ -67,6 +67,6 @@ class MainActivityTest {
composeTestRule.onNodeWithTag("google-sign-in-button").performClick()

// The map screen should be displayed
composeTestRule.onNodeWithTag("mapScreen").assertIsDisplayed()
composeTestRule.onNodeWithTag("home_screen").assertIsDisplayed()
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class NavigationTest {
@Test
fun shouldShowTheMapScreenWhenNavigatingToTheMapRoute() {
setUp(Routes.MAP)
composeTestRule.onNodeWithTag("mapScreen").assertIsDisplayed()
composeTestRule.onNodeWithTag("home_screen").assertIsDisplayed()
}

@Test
Expand Down

0 comments on commit 2dd123d

Please sign in to comment.