chore(integration_tests): increase the wait time for sliding sync to retrieve the integration tests room

This commit is contained in:
Stefan Ceriu
2026-04-01 12:01:33 +03:00
committed by Stefan Ceriu
parent 26b2731af7
commit a31618e5c8

View File

@@ -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()