Skip to content

Commit

Permalink
Refactor MTE-3857 Fix for the alert not displayed (#23101)
Browse files Browse the repository at this point in the history
Tentative fix for the alert not displayed
  • Loading branch information
mdotb-moz authored Nov 13, 2024
1 parent 55f3a31 commit eaca393
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ class DataManagementTests: BaseTestCase {
func cleanAllData() {
navigator.goto(WebsiteDataSettings)
mozWaitForElementToExist(app.tables.otherElements["Website Data"])
navigator.performAction(Action.AcceptClearAllWebsiteData)
// navigator.performAction(Action.AcceptClearAllWebsiteData)
// We need to fix the method in FxScreenGraph file
// but there are many linter issues on that file, so this is a quick fix
app.tables.cells["ClearAllWebsiteData"].staticTexts["Clear All Website Data"].waitAndTap()
app.alerts.buttons["OK"].waitAndTap()
XCTAssertEqual(app.cells.buttons.images.count, 0, "The Website data has not cleared correctly")
// Navigate back to the browser
mozWaitElementHittable(element: app.buttons["Data Management"], timeout: TIMEOUT)
Expand Down

0 comments on commit eaca393

Please sign in to comment.