commit 6ddecb3767770548f7fe36f1d252faa670ce66c4
parent ff25d89ebff6dba597af2cd0c0c44c7d9f945876
Author: AndiAJ <andiaj@users.noreply.github.com>
Date: Tue, 4 Nov 2025 07:37:48 +0000
Bug 1997688 - Fix verifySecurePageConnectionFromQuickSettingsWithTrackersInCustomTabsTest UI test r=aaronmt
The UI test was failing on the detect-leaks task because it failed to verify the page content.
This was most likely happening because of de numerous elements in the page so instead of verifying the content I've switched to verifying the URL
The UI tests successfully passed :
- 25x on the detect-leaks task ✅
- 25x on the ui-test-arm task ✅
Differential Revision: https://phabricator.services.mozilla.com/D271057
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/mobile/android/fenix/app/src/androidTest/java/org/mozilla/fenix/ui/UnifiedTrustPanelTest.kt b/mobile/android/fenix/app/src/androidTest/java/org/mozilla/fenix/ui/UnifiedTrustPanelTest.kt
@@ -282,8 +282,8 @@ class UnifiedTrustPanelTest : TestSetup() {
),
)
- browserScreen {
- verifyPageContent("Tracker Blocking")
+ customTabScreen {
+ verifyCustomTabUrl(customTabPage.toUri().host.toString())
}
customTabScreen {
}.openUnifiedTrustPanel {