Skip to content

Commit

Permalink
For #6865 - UI Test fix Strict TP test
Browse files Browse the repository at this point in the history
  • Loading branch information
isabelrios committed Jun 26, 2020
1 parent b4cfa5d commit 7c12131
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions UITests/TrackingProtectionTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ class TrackingProtectionTests: KIFTestCase, TabEventHandler {
EarlGrey.selectElement(with: grey_accessibilityID("Settings.TrackingProtectionOption.BlockListStrict")).perform(grey_tap())

// Accept the warning alert when Strict mode is enabled
tester().waitForAnimationsToFinish()
tester().waitForAnimationsToFinish(withTimeout: 3)
tester().tapView(withAccessibilityLabel: "OK, Got It")
closeTPSetting()
}
Expand All @@ -164,7 +164,6 @@ class TrackingProtectionTests: KIFTestCase, TabEventHandler {
.perform(grey_tap())

checkStrictTrackingProtection(isBlocking: false, isTPDisabled: true)

enableStrictMode()

// Now with the TP enabled, the image should be blocked
Expand Down

0 comments on commit 7c12131

Please sign in to comment.