Created
July 17, 2023 14:40
-
-
Save zurche/a37c4f10c7b0c5ad14f89a9b118fe628 to your computer and use it in GitHub Desktop.
Second Test
This file contains 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
@Test | |
fun whenFavouriteIsFalseThenEmptyHeartIconIsDisplayed() { | |
val isFavourite = false | |
composeTestRule.setContent { | |
ClothingAppTDDTheme { | |
FavouriteButton(isFavourite) | |
} | |
} | |
composeTestRule.onNodeWithContentDescription("Empty Heart Icon").assertIsDisplayed() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment