test: add more bottom nav tests

Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
This commit is contained in:
Aditya Wasan 2021-02-27 23:24:59 +05:30
parent 9185c0e36b
commit 9a79f3ba40
No known key found for this signature in database
GPG key ID: 6D6DF3BF15DE79B5
7 changed files with 58 additions and 3 deletions

View file

@ -100,6 +100,7 @@ fun LobstersBottomNav(
},
label = { Text(stringResource(id = screen.labelRes)) },
selected = currentDestination == screen,
modifier = Modifier.testTag(screen.name),
alwaysShowLabel = false,
onClick = {
if (screen != currentDestination) {