Brian Donovan
02/11/2022, 4:08 PM@Test
fun arrowBackClickTest() {
composeTestRule.setContent {
WHApplicationTheme {
LoginScreen({}, {}, {})
}
}
composeTestRule
.onNodeWithTag(ARROW_BACK)
.performClick()
val route = navController.currentBackStackEntry?.destination?.route
assertThat(route).equals(OnBoardScreen({},{})
}