You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am not sure whether crs can compare children props, but it doesn't seem like it does.
I tried selecting a specific button with .react('Button', { props: { children: 'Upload !' } }, but it couldn't find anything, looking at the getReact output, there is no children in the logged props object.
Would be cool to be able to select buttons and stuff by the string they display :D
The text was updated successfully, but these errors were encountered:
Twiggeh
changed the title
Be able to compare props.children
Be able to compare props.children [featrue request]
Feb 16, 2021
I am not sure whether crs can compare children props, but it doesn't seem like it does.
I tried selecting a specific button with
.react('Button', { props: { children: 'Upload !' } }
, but it couldn't find anything, looking at thegetReact
output, there is no children in the logged props object.Would be cool to be able to select buttons and stuff by the string they display :D
The text was updated successfully, but these errors were encountered: