From 4ea223d8384501efeb03739d285a969625cc6665 Mon Sep 17 00:00:00 2001 From: manu Date: Mon, 6 May 2024 10:04:26 +0200 Subject: [PATCH] test: shouldShowQRWhenClickOnShare --- .../org/dhis2/usescases/teidashboard/robot/TeiDashboardRobot.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/androidTest/java/org/dhis2/usescases/teidashboard/robot/TeiDashboardRobot.kt b/app/src/androidTest/java/org/dhis2/usescases/teidashboard/robot/TeiDashboardRobot.kt index dc50165dbe..b6424bc050 100644 --- a/app/src/androidTest/java/org/dhis2/usescases/teidashboard/robot/TeiDashboardRobot.kt +++ b/app/src/androidTest/java/org/dhis2/usescases/teidashboard/robot/TeiDashboardRobot.kt @@ -197,6 +197,7 @@ class TeiDashboardRobot(val composeTestRule: ComposeTestRule) : BaseRobot() { var qrLenght = 1 while (qrLenght < 8) { + waitForView(withId(R.id.next)) onView(withId(R.id.next)).perform(click()) qrLenght++ }