From f7399a2797f8adebfb241fcaa166cc63b271c2e3 Mon Sep 17 00:00:00 2001 From: Xavier Molloy Date: Thu, 11 Jul 2024 14:08:31 +0200 Subject: [PATCH] fix: [ANDROAPP-6315] fix failing tests --- .../dhis2/usescases/programevent/robot/ProgramEventsRobot.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/androidTest/java/org/dhis2/usescases/programevent/robot/ProgramEventsRobot.kt b/app/src/androidTest/java/org/dhis2/usescases/programevent/robot/ProgramEventsRobot.kt index 8f2e689ca3..8095bb81a9 100644 --- a/app/src/androidTest/java/org/dhis2/usescases/programevent/robot/ProgramEventsRobot.kt +++ b/app/src/androidTest/java/org/dhis2/usescases/programevent/robot/ProgramEventsRobot.kt @@ -62,7 +62,7 @@ class ProgramEventsRobot(val composeTestRule: ComposeContentTestRule) : BaseRobo @OptIn(ExperimentalTestApi::class) fun checkEventIsComplete(eventDate: String) { - composeTestRule.waitUntilAtLeastOneExists(hasText("Event completed"), 2500) + composeTestRule.waitUntilAtLeastOneExists(hasText("Event completed", true), 2000) composeTestRule.onNodeWithText(eventDate).assertIsDisplayed() composeTestRule.onNodeWithText("Event completed").assertIsDisplayed() }