Skip to content

Commit

Permalink
Fix mozilla-mobile#6796 - [XCUITests] TP tests failing after renaming…
Browse files Browse the repository at this point in the history
… an element ID (mozilla-mobile#6798)

Co-authored-by: Simon Basca <[email protected]>
  • Loading branch information
2 people authored and dnarcese committed Jul 14, 2020
1 parent a8b7a9f commit 1a6b322
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 1a6b322

Please sign in to comment.