We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
is.selected
You docs suggest that it uses a :selected psuedoclass selector - however, I can't see that :selected is actually a psuedoclass. https://developer.mozilla.org/en-US/docs/Web/CSS/Pseudo-classes#input_pseudo-classes
:selected
Essentially what I'm wanting to use the is.selected assertion on, is checking that an element with the role tab has aria-selected="true"
tab
aria-selected="true"
The text was updated successfully, but these errors were encountered:
For anyone who is seeing this, the assertion I use instead is:
(Cypress:)
.should("have.attr", "aria-selected", "true")
Sorry, something went wrong.
Similarly, what does the is.visible selector do? I can't see that :visible is a psuedoselector.
is.visible
:visible
No branches or pull requests
You docs suggest that it uses a
:selected
psuedoclass selector - however, I can't see that:selected
is actually a psuedoclass. https://developer.mozilla.org/en-US/docs/Web/CSS/Pseudo-classes#input_pseudo-classesEssentially what I'm wanting to use the
is.selected
assertion on, is checking that an element with the roletab
hasaria-selected="true"
The text was updated successfully, but these errors were encountered: