-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
cy.get not yielding visible component. #2806
Comments
Hey @cavaloni, I'm actually not able to reproduce this issue. I was wondering how the ampersand in the HTML may have been written - although I tried a few things like using |
Unfortunately we have to close this issue as there is not enough information to reproduce the problem. Please comment in this issue with a reproducible example and we will reopen the issue. 🙏 |
Current behavior:
The command
cy.get('a').contains('Engineering & Technicians')
is yielding0
elements in spite of it being visible and accessible in devtools.Desired behavior:
Yield the element visible in the DOM at the time of the cypress command mentioned above.
Steps to reproduce:
It would take a while to separate out a piece of the project for this particular test. Our team is evaluating E2E frameworks and are limited in our resources to it. It may be possible though, and particularly if we are leaning strongly towards Cypress. So in the case the above may not be enough information, we may be able to do so.
I understand this is currently likely not enough information to assist, but I am not sure in this case what would be most helpful. I will provide any requested information as needed.
Versions
Cypress v3.1.0
Mac OS 10.12.6
Chrome Version 70.0.3538.102
The text was updated successfully, but these errors were encountered: