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)