tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit e34292a5fd10a52530f19d4d0f21d50e4013e2fa
parent 63ccd136c18a096a8b0a3aa49d6cf73405fe09ac
Author: AndiAJ <andiaj@users.noreply.github.com>
Date:   Thu,  2 Oct 2025 17:37:08 +0000

Bug 1909406 - Fix verifyPrivateSearchTextTest UI test r=aaronmt

The UI test was failing because it wasn't properly long-clicking the text from the page.

To fix this inconstency I've added a page content verification to improve the syncing between the actions.

The UI test successfully passed 100x on Firebase (without taking use of the RetryRule) ✅

Differential Revision: https://phabricator.services.mozilla.com/D267213

Diffstat:
Mmobile/android/fenix/app/src/androidTest/java/org/mozilla/fenix/ui/TextSelectionTest.kt | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/mobile/android/fenix/app/src/androidTest/java/org/mozilla/fenix/ui/TextSelectionTest.kt b/mobile/android/fenix/app/src/androidTest/java/org/mozilla/fenix/ui/TextSelectionTest.kt @@ -133,6 +133,7 @@ class TextSelectionTest : TestSetup() { navigationToolbar { }.enterURLAndEnterToBrowser(genericURL.url) { + verifyPageContent(genericURL.content) longClickPageObject(itemContainingText("content")) clickContextMenuItem("Private Search") mDevice.waitForIdle()