From 25ce8211125df0d91307386a45aef891569c69d8 Mon Sep 17 00:00:00 2001 From: Tiago Marques <42008628+tiagomar@users.noreply.github.com> Date: Fri, 1 Nov 2024 15:35:58 -0300 Subject: [PATCH 1/5] Increase post content loading timeout (20s) --- Modules/Sources/UITestsFoundation/Screens/ReaderScreen.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/Sources/UITestsFoundation/Screens/ReaderScreen.swift b/Modules/Sources/UITestsFoundation/Screens/ReaderScreen.swift index 2e05f4764862..4a8ef0cfa06f 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 } From 57e4a428b6d71364c94aa52906b1167cc6465fa6 Mon Sep 17 00:00:00 2001 From: Tiago Marques <42008628+tiagomar@users.noreply.github.com> Date: Fri, 1 Nov 2024 16:06:37 -0300 Subject: [PATCH 2/5] Empty commit to trigger the CI From 6600cbb4f50b87e1fec07502e7aa7f6ce6efe923 Mon Sep 17 00:00:00 2001 From: Tiago Marques <42008628+tiagomar@users.noreply.github.com> Date: Fri, 1 Nov 2024 17:01:33 -0300 Subject: [PATCH 3/5] Increase waitForLoadingToFinish() timeout (20s) --- Modules/Sources/UITestsFoundation/Screens/ReaderScreen.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/Sources/UITestsFoundation/Screens/ReaderScreen.swift b/Modules/Sources/UITestsFoundation/Screens/ReaderScreen.swift index 4a8ef0cfa06f..afbbb0ee6630 100644 --- a/Modules/Sources/UITestsFoundation/Screens/ReaderScreen.swift +++ b/Modules/Sources/UITestsFoundation/Screens/ReaderScreen.swift @@ -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) } From 43c864e11bebe70da8a6fa931ef831e501b137e8 Mon Sep 17 00:00:00 2001 From: Tiago Marques <42008628+tiagomar@users.noreply.github.com> Date: Fri, 1 Nov 2024 17:47:00 -0300 Subject: [PATCH 4/5] Empty commit to trigger the CI From ff7f88605b377b04f09bfea4ac5f0c7a9031b1c3 Mon Sep 17 00:00:00 2001 From: Tiago Marques <42008628+tiagomar@users.noreply.github.com> Date: Fri, 1 Nov 2024 19:18:39 -0300 Subject: [PATCH 5/5] Empty commit to trigger the CI