Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
cy.click on a SVG or an element containing SVG throws Illegal Invocation error in Cypress 3.0.3 #2258
Since update to 3.0.3,
Available workaround is to use
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:
Cypress 3.0.3, Windows 7, Chrome v 67.0.3396.99
On a side note, Cypress is great !