mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-10-31 08:15:24 +00:00
Fix start chat UI flow after allowing avatars to be selected from files too
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user