Skip to content
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

Parse Error: Header overflow #16

Closed
czende opened this issue Feb 7, 2021 · 4 comments
Closed

Parse Error: Header overflow #16

czende opened this issue Feb 7, 2021 · 4 comments

Comments

@czende
Copy link

czende commented Feb 7, 2021

Hi, I'm using version 1.2.0 and Cypress version 5.2.0. Every attempt of file download ends up with the following error

Screenshot 2021-02-07 at 16 13 01
any ideas? Thx!

@Xvier
Copy link
Owner

Xvier commented Feb 11, 2021

Hi @czende, I will try and recreate your problem with cypress 5.2.0.
Also on another note if you upgrade cypress to version 6.3.0 you get out-of-the-box download support. So the question is do you still want to use my plugin on a lower version of cypress or upgrade to a higher cypress version.

@czende
Copy link
Author

czende commented Feb 11, 2021

Thank you for your answer. I didn't know that this is already presented in higher Cypress version. I'll try to upgrade, so this issue can be closed 👌

EDIT: arou you sure that in 6.3.0 is native download support? I cannot find anything about it in doc.

@Xvier
Copy link
Owner

Xvier commented Feb 11, 2021

@czende

https://docs.cypress.io/guides/references/changelog.html#6-3-0

You can now test file downloads in Cypress without the download prompt displaying. Any files downloaded while testing file downloads will be stored in the downloadsFolder which is set to cypress/downloads by default. The downloadsFolder will be deleted before each run unless trashAssetsBeforeRuns is set to false. Addresses #949.

@czende
Copy link
Author

czende commented Feb 12, 2021

Thank you, I've tried to update Cypress and test file download and it seems to be fine until you want to do anything else after that. It's just waiting for page load and then timeouted. Related bug was already reported here cypress-io/cypress#14857

@Xvier Xvier closed this as completed Feb 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants