This is my case:
let passwordSecureTextField = app.secureTextFields[\"password\"] passwordSecureTextField.tap() passwordSecureTextField.typeText(\"wrong_pass
I ran into this issue and was able to fix it in my scenario by taking the solution posted by @AlexDenisov and adding it to my pre-actions for run & test.