-
Notifications
You must be signed in to change notification settings - Fork 257
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
[feature] have isVisible
return false on things like 0 opacity
#395
Comments
Hi! AFAICT maybe we're missing some use case? |
Probably that only works if you do |
@TheDutchCoder any update? How are you applying |
Sorry, this slipped passed my emails. I'm assuming JSDOM had some limitations in this regard (for checking the style attribute directly)? |
Yeah, I do not think we can detect any styles applied from Unless I am missing something, this is a limitation we cannot work around. |
I looked into this - jsdom limitation. Keep an eye out, the Cypress team are working on a component testing runner that works with Test Utils (for Vue integration). That might be more up your alley if you like true UI tests (I do). |
Looks like it can be done here, too. |
Currently
isVisible
will return true even though an element is not visible due to something like opacity.I don't know what the options are for this and if it's even feasible, but it would be nice to have support for this (I know Cypress does this, but I'm not sure VTU has the same tools to work with).
The text was updated successfully, but these errors were encountered: