commit e131282e0f4ad4ee74dd2184ae021a2f306dd757
parent 3c75fa7e4427c47b2af3625677daba309d06ce12
Author: Delia Pop <dpop@mozilla.com>
Date: Thu, 20 Nov 2025 14:45:01 +0000
Bug 1934786 - Fix defaultSearchCodeBingUS intermittent UI test r=ajoltan
The defaultSearchCodeBingUS intermittent UI test was frequently failing after performing the search using the Bing search engine, either due to the insecure page error page being displayed, or when attempting to verify the page content on the search results page.
By removing this redundant step, we can now focus on validating the search code displayed in the URL.
The UI test successfully passed 100x on Firebase ✅
Try: https://treeherder.mozilla.org/jobs?repo=try&landoCommitID=164289
Differential Revision: https://phabricator.services.mozilla.com/D273416
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mobile/android/fenix/app/src/androidTest/java/org/mozilla/fenix/ui/SearchTest.kt b/mobile/android/fenix/app/src/androidTest/java/org/mozilla/fenix/ui/SearchTest.kt
@@ -641,7 +641,7 @@ class SearchTest : TestSetup() {
homeScreen {
}.openSearch {
}.submitQuery(queryString) {
- verifyPageContent("mozilla")
+ waitForPageToLoad()
}.openThreeDotMenu {
}.openHistory {
// Full URL no longer visible in the nav bar, so we'll check the history record