Skip to content

Commit 2a50477

Browse files
committed
Me UI tests more stable
1 parent dd24c62 commit 2a50477

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ExampleMVVMUITests/Presentation/MoviesScene/MoviesSceneUITests.swift

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ class MoviesSceneUITests: XCTestCase {
2727
if !app.keys["A"].waitForExistence(timeout: 5) {
2828
XCTFail("The keyboard could not be found. Use keyboard shortcut COMMAND + SHIFT + K while simulator has focus on text input")
2929
}
30+
_ = app.searchFields[AccessibilityIdentifier.searchField].waitForExistence(timeout: 10)
3031
app.searchFields[AccessibilityIdentifier.searchField].typeText(searchText)
3132
app.buttons["search"].tap()
3233

0 commit comments

Comments
 (0)