Skip to content

Commit

Permalink
LanguageScreen.kt test with sleep added and only one assertIsDisplayed()
Browse files Browse the repository at this point in the history
  • Loading branch information
AsquaredWsquared committed Aug 3, 2024
1 parent cf4c2fa commit da3bf6d
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ class LanguageScreenTest {
}
val context: Context = ApplicationProvider.getApplicationContext()
val stringLanguageTitle = context.resources.getString(R.string.first_launch_soundscape_language)
val stringLanguageText = context.resources.getString(R.string.first_launch_soundscape_language_text)
val stringLanguageContinue = context.resources.getString(R.string.ui_continue)
//val stringLanguageText = context.resources.getString(R.string.first_launch_soundscape_language_text)
//val stringLanguageContinue = context.resources.getString(R.string.ui_continue)

composeTestRule.onNodeWithText(stringLanguageTitle).assertIsDisplayed()
composeTestRule.onNodeWithText(stringLanguageText).assertIsDisplayed()
composeTestRule.onNodeWithText(stringLanguageContinue).assertIsDisplayed()
//composeTestRule.onNodeWithText(stringLanguageText).assertIsDisplayed()
//composeTestRule.onNodeWithText(stringLanguageContinue).assertIsDisplayed()


// Delay so I can see it appear on my device screen. Remove when using CI
Expand Down

0 comments on commit da3bf6d

Please sign in to comment.