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
cy.writeFile type does not have 4 argument version #15353
Comments
Yes, this is misdocumented https://github.com/cypress-io/cypress/blob/develop/packages/driver/src/cy/commands/files.js#L82:L82 |
What happens if you pass different encoding in encoding arg than in options arg. I think this may be why this wasn't documented. |
@jennifer-shehane According to the lodash doc and the cypress/packages/driver/src/cy/commands/files.js Lines 90 to 94 in 35be2ae
|
The code for this is done in cypress-io/cypress#15602, but has yet to be released. |
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
Cypress v6.6.0
cy.writeFile
type signature does not allow 4 options, which works at runtimeThe text was updated successfully, but these errors were encountered: