Skip to content

Commit

Permalink
Fix #6796 - [XCUITests] TP tests failing after renaming an element ID
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Basca committed Jun 15, 2020
1 parent 59f1880 commit 2084fb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion XCUITests/FxScreenGraph.swift
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ func createScreenGraph(for test: XCTestCase, with app: XCUIApplication) -> MMScr

map.addScreenState(TrackingProtectionContextMenuDetails) { screenState in
screenState.gesture(forAction: Action.TrackingProtectionperSiteToggle) { userState in
app.tables.cells["tp.add-to-whitelist"].tap()
app.tables.cells["tp.add-to-safelist"].tap()
userState.trackingProtectionPerTabEnabled = !userState.trackingProtectionPerTabEnabled
}

Expand Down

0 comments on commit 2084fb6

Please sign in to comment.