Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Be able to compare props.children [featrue request] #146

Open
Twiggeh opened this issue Feb 16, 2021 · 1 comment
Open

Be able to compare props.children [featrue request] #146

Twiggeh opened this issue Feb 16, 2021 · 1 comment
Labels
feature_request help wanted Extra attention is needed

Comments

@Twiggeh
Copy link

Twiggeh commented 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 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

@Twiggeh Twiggeh changed the title Be able to compare props.children Be able to compare props.children [featrue request] Feb 16, 2021
@beckerrobin
Copy link

+1 on this feature request.

@abhinaba-ghosh abhinaba-ghosh added feature_request help wanted Extra attention is needed labels Nov 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature_request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants