Custom view React Native: How to automated #3404
Unanswered
samanthamyop
asked this question in
Q&A
Replies: 1 comment
-
@samanthamyop Hello, you can try to select a year in the following way:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there!
I am coming from a cypress automation background but now the company wants me to automate the web apps as well, so sorry if this is a super noob question. The app has a rule that the user must be 18 or older to register a new user.
The devs are using the date of birth scroller on both the iOS and Android version of the app:
The code looks like this:
Issue 1:
I have attempted to add testIDs to the individual ScrollablePicker's but when I add the selector into the detox code, I get a no elements match error:
await expect(element(by.id("year"))).toBeVisible();
Issue 2:
Because it's a custom implementation, how would I scroll to say 2000?
Again sorry for the noob question.
Beta Was this translation helpful? Give feedback.
All reactions