For #24978 re-enable testStrictVisitDisableExceptionToggle UI test
This commit is contained in:
parent
460008c759
commit
46c2a714f6
|
@ -127,7 +127,6 @@ class StrictEnhancedTrackingProtectionTest {
|
|||
}
|
||||
}
|
||||
|
||||
@Ignore("Failing with frequent ANR: https://bugzilla.mozilla.org/show_bug.cgi?id=1764605")
|
||||
@Test
|
||||
fun testStrictVisitDisableExceptionToggle() {
|
||||
val genericPage = TestAssetHelper.getGenericAsset(mockWebServer, 1)
|
||||
|
|
|
@ -39,11 +39,11 @@ import org.hamcrest.CoreMatchers.anyOf
|
|||
import org.hamcrest.CoreMatchers.containsString
|
||||
import org.hamcrest.Matcher
|
||||
import org.mozilla.fenix.R
|
||||
import org.mozilla.fenix.helpers.TestAssetHelper.waitingTimeLong
|
||||
import org.mozilla.fenix.helpers.TestAssetHelper.waitingTime
|
||||
import org.mozilla.fenix.helpers.TestAssetHelper.waitingTimeLong
|
||||
import org.mozilla.fenix.helpers.TestAssetHelper.waitingTimeShort
|
||||
import org.mozilla.fenix.helpers.TestHelper.packageName
|
||||
import org.mozilla.fenix.helpers.TestHelper.mDevice
|
||||
import org.mozilla.fenix.helpers.TestHelper.packageName
|
||||
import org.mozilla.fenix.helpers.TestHelper.scrollToElementByText
|
||||
import org.mozilla.fenix.helpers.click
|
||||
import org.mozilla.fenix.helpers.clickAtLocationInView
|
||||
|
@ -451,7 +451,7 @@ private fun tabMediaControlButton() =
|
|||
mDevice.findObject(UiSelector().resourceId("$packageName:id/play_pause_button"))
|
||||
|
||||
private fun closeTabButton() =
|
||||
mDevice.findObject(UiSelector().resourceId("$packageName:id/mozac_browser_tabstray_close"))
|
||||
mDevice.findObject(UiSelector().descriptionContains("Close tab"))
|
||||
|
||||
private fun assertCloseTabsButton(title: String) =
|
||||
assertTrue(
|
||||
|
|
Loading…
Reference in New Issue