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

Commit

Permalink
test: workaround for the search button being finicky in the simulator
Browse files Browse the repository at this point in the history
  • Loading branch information
thislooksfun committed Nov 6, 2020
1 parent e1ad0ac commit e23cc7e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Tests/UITests/CallbackUpdateTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ class CallbackUpdateTests: UITest {
app.buttons["callbacks button"].tap()

searchBar.tap()
searchBar.typeText("hello")
app.keyboards.buttons["search"].tap()
searchBar.typeText("hello\n")
XCTAssertNotEqual(searchVal, app.staticTexts["do search text"].label, "search callback updated")

navBar.buttons["Cancel"].tap()
Expand Down

0 comments on commit e23cc7e

Please sign in to comment.