I have a password and password conf textFields, which I used "Secure text input" to hide the password. However, when I run the user interface tests, these fields cannot be found, getting
UI Test Error - No Matches Found for TextField "Password"
I am trying to select fields like this:
let passwordTextField = app.textFields["password"]
but then it fails when I try to click:
passwordTextField.tap()
Any ideas on how I can access the field?
source share