[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [Git][tpo/applications/tor-browser][tor-browser-149.0a1-16.0-2] fixup! [android] Modify UI/UX



Title: GitLab

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:

Changes:

  • mobile/android/fenix/app/src/androidTest/java/org/mozilla/fenix/ui/robots/SiteSecurityRobot.kt
    ... ... @@ -88,15 +88,15 @@ class SiteSecurityRobot {
    88 88
         fun verifyETPSwitchVisibility(visible: Boolean) {
    
    89 89
             waitForAppWindowToBeUpdated()
    
    90 90
             if (visible) {
    
    91
    -            Log.i(TAG, "verifyETPSwitchVisibility: Trying to verify ETP toggle is displayed")
    
    92
    -            enhancedTrackingProtectionSwitch()
    
    93
    -                .check(matches(isDisplayed()))
    
    94
    -            Log.i(TAG, "verifyETPSwitchVisibility: Verified ETP toggle is displayed")
    
    91
    +//            Log.i(TAG, "verifyETPSwitchVisibility: Trying to verify ETP toggle is displayed")
    
    92
    +//            enhancedTrackingProtectionSwitch()
    
    93
    +//                .check(matches(isDisplayed()))
    
    94
    +//            Log.i(TAG, "verifyETPSwitchVisibility: Verified ETP toggle is displayed")
    
    95 95
             } else {
    
    96
    -            Log.i(TAG, "verifyETPSwitchVisibility: Trying to verify ETP toggle is not displayed")
    
    97
    -            enhancedTrackingProtectionSwitch()
    
    98
    -                .check(matches(not(isDisplayed())))
    
    99
    -            Log.i(TAG, "verifyETPSwitchVisibility: Verified ETP toggle is not displayed")
    
    96
    +//            Log.i(TAG, "verifyETPSwitchVisibility: Trying to verify ETP toggle is not displayed")
    
    97
    +//            enhancedTrackingProtectionSwitch()
    
    98
    +//                .check(matches(not(isDisplayed())))
    
    99
    +//            Log.i(TAG, "verifyETPSwitchVisibility: Verified ETP toggle is not displayed")
    
    100 100
             }
    
    101 101
         }
    
    102 102
     
    
    ... ... @@ -242,8 +242,8 @@ private fun clearSiteDataPrompt(url: String) =
    242 242
     private fun cancelClearSiteDataButton() = onView(withId(android.R.id.button2)).inRoot(RootMatchers.isDialog())
    
    243 243
     private fun deleteSiteDataButton() = onView(withId(android.R.id.button1)).inRoot(RootMatchers.isDialog())
    
    244 244
     
    
    245
    -private fun enhancedTrackingProtectionSwitch() =
    
    246
    -    onView(withId(R.id.trackingProtectionSwitch))
    
    245
    +//private fun enhancedTrackingProtectionSwitch() =
    
    246
    +//    onView(withId(R.id.trackingProtectionSwitch))
    
    247 247
     
    
    248 248
     private fun openEnhancedTrackingProtectionDetails() =
    
    249 249
         mDevice.findObject(UiSelector().resourceId("$packageName:id/trackingProtectionDetails"))

  • _______________________________________________
    tor-commits mailing list -- tor-commits@xxxxxxxxxxxxxxxxxxxx
    To unsubscribe send an email to tor-commits-leave@xxxxxxxxxxxxxxxxxxxx