mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 17:12:45 +02:00
improved UI tests
This commit is contained in:
@@ -43,6 +43,10 @@ final class ComposerUITests: MockScreenTestCase {
|
||||
let cancelButton = app.buttons["cancelButton"]
|
||||
XCTAssertTrue(cancelButton.exists)
|
||||
|
||||
let contextDescription = app.staticTexts["contextDescription"]
|
||||
XCTAssertTrue(contextDescription.exists)
|
||||
XCTAssert(contextDescription.label == VectorL10n.roomMessageReplyingTo("TestUser"))
|
||||
|
||||
wysiwygTextView.tap()
|
||||
wysiwygTextView.typeText("test")
|
||||
XCTAssertTrue(sendButton.exists)
|
||||
@@ -65,6 +69,10 @@ final class ComposerUITests: MockScreenTestCase {
|
||||
let cancelButton = app.buttons["cancelButton"]
|
||||
XCTAssertTrue(cancelButton.exists)
|
||||
|
||||
let contextDescription = app.staticTexts["contextDescription"]
|
||||
XCTAssertTrue(contextDescription.exists)
|
||||
XCTAssert(contextDescription.label == VectorL10n.roomMessageEditing)
|
||||
|
||||
wysiwygTextView.tap()
|
||||
wysiwygTextView.typeText("test")
|
||||
XCTAssertTrue(editButton.exists)
|
||||
|
||||
Reference in New Issue
Block a user