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

Commit

Permalink
fix one test and try BR config
Browse files Browse the repository at this point in the history
  • Loading branch information
isabel rios authored and isabel rios committed Oct 22, 2020
1 parent dffd9a1 commit c7ccb04
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion XCUITest/BaseTestCase.swift
Expand Up @@ -151,7 +151,7 @@ class BaseTestCase: XCTestCase {

UIPasteboard.general.string = url
waitforHittable(element: searchOrEnterAddressTextField)

waitforExistence(element: searchOrEnterAddressTextField)
// Must press this way in order to support iPhone 5s
searchOrEnterAddressTextField.tap()
searchOrEnterAddressTextField.coordinate(withNormalizedOffset: CGVector.zero).withOffset(CGVector(dx: 10, dy: 0)).press(forDuration: 1.5)
Expand Down
3 changes: 2 additions & 1 deletion XCUITest/FindInPageTest.swift
Expand Up @@ -19,8 +19,9 @@ class FindInPageTest: BaseTestCase {
func testFindInPageURLBarElement() {
// Navigate to website
loadWebPage("http://localhost:6573/licenses.html\n")
waitForWebPageLoad()

let searchOrEnterAddressTextField = app.textFields["Search or enter address"]

// Activate the find in page bar
app.textFields["Search or enter address"].tap()
app.textFields["Search or enter address"].typeText("mozilla")
Expand Down

0 comments on commit c7ccb04

Please sign in to comment.