Attempt to fix attachment media in the integration tests
This commit is contained in:
@@ -70,8 +70,8 @@ class UserFlowTests: XCTestCase {
|
|||||||
// Open photo library picker
|
// Open photo library picker
|
||||||
tapOnButton(A11yIdentifiers.roomScreen.attachmentPickerPhotoLibrary)
|
tapOnButton(A11yIdentifiers.roomScreen.attachmentPickerPhotoLibrary)
|
||||||
|
|
||||||
// Tap on the first image
|
// Tap on the second image. First one is always broken on simulators.
|
||||||
app.scrollViews.images.firstMatch.tap()
|
app.scrollViews.images.element(boundBy: 1).tap()
|
||||||
|
|
||||||
// Cancel the upload flow
|
// Cancel the upload flow
|
||||||
tapOnButton("Cancel")
|
tapOnButton("Cancel")
|
||||||
|
|||||||
Reference in New Issue
Block a user