native-demo-app icon indicating copy to clipboard operation
native-demo-app copied to clipboard

Not able to interact with password field on iOS 17.2

Open WasiqB opened this issue 1 year ago • 5 comments

Description

Cannot automate password field in iOS 17.2 app, however, when we interact with the same field manually, we are able to interact.

Environment (please complete the following information):**

  • Node.js version: 18.19.0
  • NPM version: 10.2.5
  • Platform: iOS
  • Platform version: 17.2
  • Emulator/Simulator/Real Device: Simulator

Question?

Is there any setting which can be done, so we can automate password field?

Screenshot for reference:

SCR-20240116-095426

WasiqB avatar Jan 17 '24 15:01 WasiqB

@WasiqB thanks for raising the issue.

Mind sharing the test that would test the login flow?

christian-bromann avatar Jan 17 '24 16:01 christian-bromann

Thanks for filing an issue, but I believe this is related to XCUITest driver. All tests were successful on my local machine on 17.2 and on Sauce with 16.2 (https://app.eu-central-1.saucelabs.com/tests/c41ee6b7269a42de863d4ddfff42acce#46)

Can you test is with older versions of Appium (drivers)?

wswebcreation avatar Jan 17 '24 16:01 wswebcreation

@christian-bromann

It already happens with this script from the boilerplate. Almost 99.99% sure it also happens with Java and other languages, but also 99.99999% sure it's not related to the app. Otherwise I never would have merged the app and released it

wswebcreation avatar Jan 17 '24 16:01 wswebcreation

Hmm, doing some debugging, if you run the flow fully, meaning first the login form and then the signin it works, running only the signin breaks 😢 . It's also not related to the clear value, because the addValue has the same issue. Need to do some more debugging, maybe tonight. Not sure if this is Appium or WDIO :(

wswebcreation avatar Jan 17 '24 16:01 wswebcreation

This will take more time to debug, will put this on my todo list

wswebcreation avatar Jan 18 '24 06:01 wswebcreation