Adyen / adyen-react-native

Adyen React Native
https://docs.adyen.com/checkout
MIT License
44 stars 32 forks source link

Address Country Dropdown Test id #458

Open faizantariq1 opened 4 months ago

faizantariq1 commented 4 months ago

Describe the bug I want to add the testid / accessibilityID for the countries drop-down of the card so it can be used for automation testing. but no accessibilityID/ testid attached to the country drop-down.

To Reproduce just open the debit card with the address field enabled.

Screenshots

Screenshot 2024-06-03 at 2 46 53 PM
descorp commented 4 months ago

Hey @faizantariq1

What testing tool are you using?

faizantariq1 commented 4 months ago

appium tool.

descorp commented 3 months ago

Hey @faizantariq1

Sorry, we are not subject experts on Appium.

From what Google tells me - Appium has general problems working with AdapterView.

AFAIK, you should be able to reach TextView by id @id/textView_title and text as the country name. An example that might help here: https://github.com/nctoan500/Selenium1st/blob/master/Appium/src/test/java/NCT/Appium/Spinner.java#L44

descorp commented 3 months ago

Hey @faizantariq1

Were you able to get any progress?

Vikas-lebara commented 1 month ago

Hi @descorp, We tried with UiAutomator aswell to scroll to any specific country present inside dropdown but it didnot helped. Also We do have similar problem in iOS. We are unable to select any component inside country dropdown through Automation.

descorp commented 1 month ago

We are have released 2.3.0 that supports "Address Lookup" feature - maybe that one would be easier to test?