Pier Angelo Vendrame pushed to branch tor-browser-149.0a1-16.0-2 at The Tor Project / Applications / Tor Browser Commits: 3ec79881 by Dan Ballard at 2026-03-26T21:26:40+01:00 fixup! [android] Modify UI/UX TB 44785: Comment out use of remove trackingProtectionSwitch in SiteSecurityRobot.kt test file - - - - - 1 changed file: - mobile/android/fenix/app/src/androidTest/java/org/mozilla/fenix/ui/robots/SiteSecurityRobot.kt Changes: ===================================== mobile/android/fenix/app/src/androidTest/java/org/mozilla/fenix/ui/robots/SiteSecurityRobot.kt ===================================== @@ -88,15 +88,15 @@ class SiteSecurityRobot { fun verifyETPSwitchVisibility(visible: Boolean) { waitForAppWindowToBeUpdated() if (visible) { - Log.i(TAG, "verifyETPSwitchVisibility: Trying to verify ETP toggle is displayed") - enhancedTrackingProtectionSwitch() - .check(matches(isDisplayed())) - Log.i(TAG, "verifyETPSwitchVisibility: Verified ETP toggle is displayed") +// Log.i(TAG, "verifyETPSwitchVisibility: Trying to verify ETP toggle is displayed") +// enhancedTrackingProtectionSwitch() +// .check(matches(isDisplayed())) +// Log.i(TAG, "verifyETPSwitchVisibility: Verified ETP toggle is displayed") } else { - Log.i(TAG, "verifyETPSwitchVisibility: Trying to verify ETP toggle is not displayed") - enhancedTrackingProtectionSwitch() - .check(matches(not(isDisplayed()))) - Log.i(TAG, "verifyETPSwitchVisibility: Verified ETP toggle is not displayed") +// Log.i(TAG, "verifyETPSwitchVisibility: Trying to verify ETP toggle is not displayed") +// enhancedTrackingProtectionSwitch() +// .check(matches(not(isDisplayed()))) +// Log.i(TAG, "verifyETPSwitchVisibility: Verified ETP toggle is not displayed") } } @@ -242,8 +242,8 @@ private fun clearSiteDataPrompt(url: String) = private fun cancelClearSiteDataButton() = onView(withId(android.R.id.button2)).inRoot(RootMatchers.isDialog()) private fun deleteSiteDataButton() = onView(withId(android.R.id.button1)).inRoot(RootMatchers.isDialog()) -private fun enhancedTrackingProtectionSwitch() = - onView(withId(R.id.trackingProtectionSwitch)) +//private fun enhancedTrackingProtectionSwitch() = +// onView(withId(R.id.trackingProtectionSwitch)) private fun openEnhancedTrackingProtectionDetails() = mDevice.findObject(UiSelector().resourceId("$packageName:id/trackingProtectionDetails")) View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/3ec79881... -- View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/3ec79881... You're receiving this email because of your account on gitlab.torproject.org. Manage all notifications: https://gitlab.torproject.org/-/profile/notifications | Help: https://gitlab.torproject.org/help
participants (1)
-
Pier Angelo Vendrame (@pierov)