You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the latest Cypress version 12.15.0 cy.writeFile() is broken when trying to write response contents to pdf. It says "cy.writeFile() must only be invoked from the spec file or support file."
Current behavior
With the latest Cypress version 12.15.0 cy.writeFile() is broken when trying to write response contents to pdf. It says "cy.writeFile() must only be invoked from the spec file or support file."
Started happening after this got fixed: #27099
Desired behavior
File written successfully/blank file written
Test code to reproduce
it('Download Pdf', () => {
const pdfUrl = 'http://www.pdf995.com/samples/pdf.pdf';
Cypress Version
12.15.0
Node version
v16.15.0
Operating System
Windows
Debug Logs
No response
Other
No response
The text was updated successfully, but these errors were encountered: