Integration tests: work around #3365 failures.

This commit is contained in:
Stefan Ceriu
2025-04-14 09:51:03 +03:00
parent 70fde932a4
commit 1c5b55d62b

View File

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