commit 79d0242ba6e7b26b1bc5e14b73e6a9d2f91b16f8
parent ece8a53a9215ad108c3ad2711091cfd01e8a8fb9
Author: AndiAJ <andiaj@users.noreply.github.com>
Date: Tue, 4 Nov 2025 16:14:47 +0000
Bug 1998153 - Fix disableSearchBookmarksToggleTest UI test r=aaronmt
Not sure why, but the UI test was timing out after successfully verifying the last step of the test namely to verify that no bookmark related suggestions are displayed.
To fix this problem, I've added two extra steps, to dismiss the search screen and verify the home screen is displayed afterwards.
The UI test successfully passed 150x on Firebase ✅
Differential Revision: https://phabricator.services.mozilla.com/D271216
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/mobile/android/fenix/app/src/androidTest/java/org/mozilla/fenix/ui/SettingsSearchTest.kt b/mobile/android/fenix/app/src/androidTest/java/org/mozilla/fenix/ui/SettingsSearchTest.kt
@@ -260,6 +260,8 @@ class SettingsSearchTest : TestSetup() {
"Firefox Suggest",
website.title,
)
+ }.dismissSearchBar {
+ verifyHomeComponent(activityTestRule)
}
}