diff --git a/Modules/Sources/UITestsFoundation/Screens/ReaderScreen.swift b/Modules/Sources/UITestsFoundation/Screens/ReaderScreen.swift index 2e05f4764862..afbbb0ee6630 100644 --- a/Modules/Sources/UITestsFoundation/Screens/ReaderScreen.swift +++ b/Modules/Sources/UITestsFoundation/Screens/ReaderScreen.swift @@ -64,7 +64,7 @@ public class ReaderScreen: ScreenObject { private func postContentEquals(_ expected: String) -> Bool { let equalsPostContent = NSPredicate(format: "label == %@", expected) - let isPostContentEqual = app.staticTexts.element(matching: equalsPostContent).waitForIsHittable(timeout: 15) + let isPostContentEqual = app.staticTexts.element(matching: equalsPostContent).waitForIsHittable(timeout: 20) return isPostContentEqual } @@ -139,7 +139,7 @@ public class ReaderScreen: ScreenObject { private func waitForLoadingToFinish() { let doesNotExistPredicate = NSPredicate(format: "exists == FALSE") let expectation = XCTNSPredicateExpectation(predicate: doesNotExistPredicate, object: ghostLoading) - let result = XCTWaiter.wait(for: [expectation], timeout: 5.0) + let result = XCTWaiter.wait(for: [expectation], timeout: 20.0) XCTAssertEqual(result, .completed) }