From 0bc581115ea3f381d07c97e495be09bd17a711c7 Mon Sep 17 00:00:00 2001 From: AndiAJ Date: Tue, 25 Apr 2023 18:39:11 +0300 Subject: [PATCH] Bug 1829600 - Simplify connection error message check --- .../java/org/mozilla/fenix/ui/robots/BrowserRobot.kt | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/src/androidTest/java/org/mozilla/fenix/ui/robots/BrowserRobot.kt b/app/src/androidTest/java/org/mozilla/fenix/ui/robots/BrowserRobot.kt index 5936254f19..da5f509f40 100644 --- a/app/src/androidTest/java/org/mozilla/fenix/ui/robots/BrowserRobot.kt +++ b/app/src/androidTest/java/org/mozilla/fenix/ui/robots/BrowserRobot.kt @@ -799,8 +799,6 @@ class BrowserRobot { fun verifyConnectionErrorMessage() { assertItemContainingTextExists( itemContainingText(getStringResource(R.string.mozac_browser_errorpages_connection_failure_title)), - itemContainingText("The site could be temporarily unavailable or too busy. Try again in a few moments."), - itemContainingText("If you are unable to load any pages, check your device’s data or Wi-Fi connection."), ) assertItemWithResIdExists(itemWithResId("errorTryAgain")) }