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
…#6798)

Co-authored-by: Simon Basca <simonbasca@192-168-0-107.rdsnet.ro>
  • Loading branch information
SimonBasca and Simon Basca committed Jun 15, 2020
1 parent 63390d9 commit adf1771
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 adf1771

Please sign in to comment.