#49, #123 - Setup UI integration and performance testing (#148)

This commit is contained in:
Stefan Ceriu
2022-08-18 16:32:29 +03:00
committed by GitHub
parent b6e1d6d1e5
commit 78df4abc7f
27 changed files with 954 additions and 78 deletions
@@ -58,10 +58,13 @@ class AuthenticationCoordinatorUITests: XCTestCase {
app.typeText("87654321")
// Login Screen: Tap next
app.buttons["nextButton"].tap()
let nextButton = app.buttons["nextButton"]
XCTAssertTrue(nextButton.waitForExistence(timeout: 2.0))
XCTAssertTrue(nextButton.isEnabled)
nextButton.tap()
// Then login should fail.
XCTAssertTrue(app.alerts.element.waitForExistence(timeout: 1), "An error alert should be shown when attempting login with invalid credentials.")
XCTAssertTrue(app.alerts.element.waitForExistence(timeout: 2.0), "An error alert should be shown when attempting login with invalid credentials.")
}
func testSelectingOIDCServer() {