diff --git a/mobile/android/fenix/app/src/androidTest/java/org/mozilla/fenix/ui/robots/BrowserRobot.kt b/mobile/android/fenix/app/src/androidTest/java/org/mozilla/fenix/ui/robots/BrowserRobot.kt index 221124ea385f..14c03abd0551 100644 --- a/mobile/android/fenix/app/src/androidTest/java/org/mozilla/fenix/ui/robots/BrowserRobot.kt +++ b/mobile/android/fenix/app/src/androidTest/java/org/mozilla/fenix/ui/robots/BrowserRobot.kt @@ -725,9 +725,8 @@ class BrowserRobot { fun verifyNoDateIsSelected() { val currentDate = LocalDate.now() - assertUIObjectExists( - itemContainingText("Selected date is: $currentDate"), - exists = false, + assertTrue( + itemContainingText("Selected date is: $currentDate").waitUntilGone(waitingTime) ) }