From a31618e5c8c6db8554f9e3aab658f4be02fe6de6 Mon Sep 17 00:00:00 2001 From: Stefan Ceriu Date: Wed, 1 Apr 2026 12:01:33 +0300 Subject: [PATCH] chore(integration_tests): increase the wait time for sliding sync to retrieve the integration tests room --- IntegrationTests/Sources/UserFlowTests.swift | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/IntegrationTests/Sources/UserFlowTests.swift b/IntegrationTests/Sources/UserFlowTests.swift index 7be9a4071..b9f6fc18b 100644 --- a/IntegrationTests/Sources/UserFlowTests.swift +++ b/IntegrationTests/Sources/UserFlowTests.swift @@ -43,7 +43,11 @@ class UserFlowTests: XCTestCase { // And open it let firstRoom = app.buttons.matching(NSPredicate(format: "identifier CONTAINS %@", Self.integrationTestsRoomName)).firstMatch - XCTAssertTrue(firstRoom.waitForExistence(timeout: 10.0)) + + // The backend is sometimes really slow and having a longer timeout + // beats having to rerun the whole suite again. + XCTAssertTrue(firstRoom.waitForExistence(timeout: 100.0)) + firstRoom.tap(.center) sendMessages()