mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 10:33:45 +00:00
Fix flakey app lock setup pin screen pin entry typing
This commit is contained in:
committed by
Stefan Ceriu
parent
e80b43f148
commit
ffbfdfa96e
@@ -137,16 +137,16 @@ class AppLockSetupUITests: XCTestCase {
|
||||
// MARK: - Helpers
|
||||
|
||||
private func enterPIN() {
|
||||
app.keys["2"].tap()
|
||||
app.keys["0"].tap()
|
||||
app.keys["2"].tap()
|
||||
app.keys["3"].tap()
|
||||
let textField = app.secureTextFields[A11yIdentifiers.appLockSetupPINScreen.textField]
|
||||
XCTAssert(textField.waitForExistence(timeout: 10))
|
||||
|
||||
textField.clearAndTypeText("2023")
|
||||
}
|
||||
|
||||
private func enterDifferentPIN() {
|
||||
app.keys["2"].tap()
|
||||
app.keys["2"].tap()
|
||||
app.keys["3"].tap()
|
||||
app.keys["3"].tap()
|
||||
let textField = app.secureTextFields[A11yIdentifiers.appLockSetupPINScreen.textField]
|
||||
XCTAssert(textField.waitForExistence(timeout: 10))
|
||||
|
||||
textField.clearAndTypeText("2233")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user