Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

Commit

Permalink
Fix MTE-2203 URLValidationTest test on iPad (#4008)
Browse files Browse the repository at this point in the history
  • Loading branch information
dragosb01 authored Jan 25, 2024
1 parent 91d1f2c commit de1db83
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion focus-ios/focus-ios-tests/XCUITest/URLValidationTest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ class URLValidationTest: BaseTestCase {
loadWebPage(URL)
waitForWebPageLoad()
XCTAssertTrue(app.otherElements.staticTexts["Mozilla"].exists, "The website was not loaded properly")
XCTAssertTrue(app.buttons["Menu"].exists)
if !iPad() {
XCTAssertTrue(app.buttons["Menu"].exists)
}
XCTAssertEqual(app.textFields["URLBar.urlText"].value as? String, "www.mozilla.org")
}

Expand Down

0 comments on commit de1db83

Please sign in to comment.