react-pdf/pdfjs - how to migrate cy.route to cy.interception #28031
Unanswered
joaosaro
asked this question in
Questions and Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
I'm trying to upgrade Cypress from v6v to v12/13 but i need to change from
cy.route
tocy.interception
. So far, I'm having a issue with a pdf file fixture. It works well in the app, but not in Cypress when change to interception method.Previous
I tried first to change to this and it returns an error "Warning: Invalid stream: "FormatError: Bad FCHECK in flate stream: 120, 239".
I also tried this:
The response is similar but the data buffer is almost the double. I looked into the documentation and other sources but I'm not getting successful answers. Anyone had this issue or know a possible cause?
Beta Was this translation helpful? Give feedback.
All reactions