From da3bf6d6fa250c9574535fb6e3feb35515eccc04 Mon Sep 17 00:00:00 2001 From: AsquaredWsquared <76879959+AsquaredWsquared@users.noreply.github.com> Date: Sat, 3 Aug 2024 19:56:45 +0100 Subject: [PATCH] LanguageScreen.kt test with sleep added and only one assertIsDisplayed() --- .../org/scottishtecharmy/soundscape/LanguageScreenTest.kt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/src/androidTest/java/org/scottishtecharmy/soundscape/LanguageScreenTest.kt b/app/src/androidTest/java/org/scottishtecharmy/soundscape/LanguageScreenTest.kt index 8f5d8e83..403b27ee 100644 --- a/app/src/androidTest/java/org/scottishtecharmy/soundscape/LanguageScreenTest.kt +++ b/app/src/androidTest/java/org/scottishtecharmy/soundscape/LanguageScreenTest.kt @@ -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