cy.click on a SVG or an element containing SVG throws Illegal Invocation error in Cypress 3.0.3 #2258
Labels
Milestone
Comments
This has already been fixed in a PR and will go out in the next patch release... approximately less than 24 hours. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Current behavior:
Since update to 3.0.3,
cy.get( "element containing SVG" ).click()
throws an error:CypressError: Timed out retrying: Illegal invocation
Available workaround is to use
{ force: true }
(doesn't work when clicking on SVG directly)Desired behavior:
The same behavior as the other elements (not containing SVG): a simple click.
Steps to reproduce:
given this html body:
and this spec:
I obtain this result:
My current workaround:
Versions
Cypress 3.0.3, Windows 7, Chrome v 67.0.3396.99
On a side note, Cypress is great !
The text was updated successfully, but these errors were encountered: