Fix start chat UI flow after allowing avatars to be selected from files too

This commit is contained in:
Stefan Ceriu
2026-05-11 10:27:55 +03:00
parent 80385bbc1e
commit a5d07cf1f3
+1 -1
View File
@@ -38,7 +38,7 @@ class StartChatTests: XCTestCase {
try await app.assertScreenshot(step: Step.createRoom)
app.buttons[A11yIdentifiers.createRoomScreen.roomAvatar].tap()
app.popovers.buttons.element(boundBy: 2).tap() // There are 2 buttons with the accessibility identifier, so use the index to get the right one.
app.popovers.buttons.element(boundBy: 3).tap() // There are 3 buttons with the accessibility identifier, so use the index to get the right one.
let cancelButton = app.buttons["Cancel"]
// The system UI snapshot is unreliable, instead lets just assert something.
// XCTAssertTrue(cancelButton.waitForExistence(timeout: 1.0))