-
Notifications
You must be signed in to change notification settings - Fork 3.3k
[Cypress 6.0.0] cy.screenshot marked as deprecated #9303
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
Comments
Yah, this warning is supposed to be on cy.route, but likely got associated with the wrong command’s types. |
PR open for this #9323 |
The code for this is done in cypress-io/cypress#9323, 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
When using
cy.screenshot
my editor warns me that it's deprecated and refers tocy.intercept
. I tried looking at the release blog post and the docs for these two function but it doesn't seem this should be deprecated.Diving into the type definitions it looks like this:
Test code to reproduce
Versions
6.0.0
The text was updated successfully, but these errors were encountered: