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
waitForAnimations is not a valid option for .click TS type #8854
Comments
Yah, I can see how this error message is very confusing. Disregard - this is accurate. |
Oh actually I see this This is likely why the types don't reflect reality. |
I noticed this and fixed it already in #8837 |
Nice. |
Thank you very much |
The code for this is done in cypress-io/cypress#8837, but has yet to be released. |
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
Current behavior
cy.get('body').click({ waitForAnimations: false })
gets TS error becausewaitForAnimations
is not a valid option on the Type even if is a suggested command https://docs.cypress.io/guides/references/error-messages.html#cy-failed-because-the-element-is-currently-animatingDesired behavior
cy.get('body').click({ waitForAnimations: false })
will not throw TS errorVersions
5.3.0 MacOS
The text was updated successfully, but these errors were encountered: