Skip to content

Commit 0decea3

Browse files
committed
Fix test
1 parent 464d95e commit 0decea3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Examples/Integration/IntegrationUITests/Legacy/LegacyPresentationTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -410,8 +410,8 @@ final class LegacyPresentationTests: BaseIntegrationTests {
410410
XCTAssertEqual(self.app.staticTexts["Custom alert!"].exists, true)
411411
self.app.typeText("Hello!")
412412
self.app.buttons["Submit"].tap()
413-
XCTAssertEqual(self.app.staticTexts["Hello!"].exists, true)
414-
XCTAssertEqual(self.app.staticTexts["Dismiss action sent"].exists, true)
413+
XCTAssertEqual(self.app.staticTexts["Hello!"].waitForExistence(timeout: 1), true)
414+
XCTAssertEqual(self.app.staticTexts["Dismiss action sent"].waitForExistence(timeout: 1), true)
415415
}
416416

417417
func testDismissAndAlert() {

0 commit comments

Comments
 (0)