From e62b0684d2a469db3160caef890b1e838359b6d1 Mon Sep 17 00:00:00 2001 From: Stefan Ceriu Date: Mon, 14 Apr 2025 09:51:03 +0300 Subject: [PATCH] Integration tests: work around #3365 failures. --- IntegrationTests/Sources/UserFlowTests.swift | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/IntegrationTests/Sources/UserFlowTests.swift b/IntegrationTests/Sources/UserFlowTests.swift index fbdc99171..0b432d3b3 100644 --- a/IntegrationTests/Sources/UserFlowTests.swift +++ b/IntegrationTests/Sources/UserFlowTests.swift @@ -30,6 +30,11 @@ class UserFlowTests: XCTestCase { // Assumes app is on the home screen private func checkRoomFlows() { + // Wait for the room list to paginate and correctly compute the room display names otherwise the test room + // won't be found + // Remove once https://github.com/element-hq/element-x-ios/issues/3365 gets sorted + sleep(30) + // Search for the special test room let searchField = app.searchFields.firstMatch searchField.clearAndTypeText(Self.integrationTestsRoomName, app: app)