mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-22 01:22:46 +02:00
Fix a few failing UI tests.
This commit is contained in:
@@ -47,15 +47,15 @@ class ChangePasswordUITests: MockScreenTest {
|
||||
|
||||
let oldPasswordTextField = app.secureTextFields["oldPasswordTextField"]
|
||||
XCTAssertTrue(oldPasswordTextField.exists, "The text field should be shown.")
|
||||
XCTAssertEqual(oldPasswordTextField.label, "old password", "The text field should be showing the placeholder before text is input.")
|
||||
XCTAssertEqual(oldPasswordTextField.label, "Old password", "The text field should be showing the placeholder before text is input.")
|
||||
|
||||
let newPasswordTextField1 = app.secureTextFields["newPasswordTextField1"]
|
||||
XCTAssertTrue(newPasswordTextField1.exists, "The text field should be shown.")
|
||||
XCTAssertEqual(newPasswordTextField1.label, "new password", "The text field should be showing the placeholder before text is input.")
|
||||
XCTAssertEqual(newPasswordTextField1.label, "New password", "The text field should be showing the placeholder before text is input.")
|
||||
|
||||
let newPasswordTextField2 = app.secureTextFields["newPasswordTextField2"]
|
||||
XCTAssertTrue(newPasswordTextField2.exists, "The text field should be shown.")
|
||||
XCTAssertEqual(newPasswordTextField2.label, "confirm password", "The text field should be showing the placeholder before text is input.")
|
||||
XCTAssertEqual(newPasswordTextField2.label, "Confirm password", "The text field should be showing the placeholder before text is input.")
|
||||
|
||||
let submitButton = app.buttons["submitButton"]
|
||||
XCTAssertTrue(submitButton.exists, "The submit button should be shown.")
|
||||
@@ -80,7 +80,7 @@ class ChangePasswordUITests: MockScreenTest {
|
||||
|
||||
let newPasswordTextField2 = app.secureTextFields["newPasswordTextField2"]
|
||||
XCTAssertTrue(newPasswordTextField2.exists, "The text field should be shown.")
|
||||
XCTAssertEqual(newPasswordTextField2.label, "confirm password", "The text field should be showing the placeholder before text is input.")
|
||||
XCTAssertEqual(newPasswordTextField2.label, "Confirm password", "The text field should be showing the placeholder before text is input.")
|
||||
|
||||
let submitButton = app.buttons["submitButton"]
|
||||
XCTAssertTrue(submitButton.exists, "The submit button should be shown.")
|
||||
|
||||
Reference in New Issue
Block a user