cy.click on a SVG or an element containing SVG throws Illegal Invocation error in Cypress 3.0.3 #2258
Labels
type: duplicate
This issue or pull request already exists
Milestone
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: