mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-28 23:32:41 +00:00
should fix the CI UI tests failing
This commit is contained in:
parent
9794de3fd3
commit
75855b21c2
1 changed files with 3 additions and 3 deletions
|
@ -22,7 +22,7 @@ final class ComposerUITests: MockScreenTestCase {
|
|||
app.goToScreenWithIdentifier(MockComposerScreenState.send.title)
|
||||
|
||||
XCTAssertFalse(app.buttons["cancelButton"].exists)
|
||||
let wysiwygTextView = app.textViews["WysiwygComposer"]
|
||||
let wysiwygTextView = app.textViews.allElementsBoundByIndex[0]
|
||||
XCTAssertTrue(wysiwygTextView.exists)
|
||||
let sendButton = app.buttons["sendButton"]
|
||||
XCTAssertFalse(sendButton.exists)
|
||||
|
@ -35,7 +35,7 @@ final class ComposerUITests: MockScreenTestCase {
|
|||
func testReplyMode() throws {
|
||||
app.goToScreenWithIdentifier(MockComposerScreenState.reply.title)
|
||||
|
||||
let wysiwygTextView = app.textViews["WysiwygComposer"]
|
||||
let wysiwygTextView = app.textViews.allElementsBoundByIndex[0]
|
||||
XCTAssertTrue(wysiwygTextView.exists)
|
||||
let sendButton = app.buttons["sendButton"]
|
||||
XCTAssertFalse(sendButton.exists)
|
||||
|
@ -61,7 +61,7 @@ final class ComposerUITests: MockScreenTestCase {
|
|||
func testEditMode() throws {
|
||||
app.goToScreenWithIdentifier(MockComposerScreenState.edit.title)
|
||||
|
||||
let wysiwygTextView = app.textViews["WysiwygComposer"]
|
||||
let wysiwygTextView = app.textViews.allElementsBoundByIndex[0]
|
||||
XCTAssertTrue(wysiwygTextView.exists)
|
||||
let editButton = app.buttons["editButton"]
|
||||
XCTAssertFalse(editButton.exists)
|
||||
|
|
Loading…
Reference in a new issue