-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
writeFile cannot handle big payloads (~100MB+) #17903
Comments
Yah there's something not being handled correctly with writeFile. This is strange considering this used to be the behavior: #3350 So something may have changed. |
We're seeing issues with I'm not sure if it's relevant or helpful, but even just creating a similarly sized describe("Big buffer spec", () => {
it("should fail", () => {
console.log(" >>> Big buffer: " + Buffer.from("x".repeat(125 * 1024 * 1024)).length);
});
});
|
This issue has not had any activity in 180 days. Cypress evolves quickly and the reported behavior should be tested on the latest version of Cypress to verify the behavior is still occurring. It will be closed in 14 days if no updates are provided. |
This issue has been closed due to inactivity. |
Current behavior
When
cy.writeFile
is called with 100MB+ of text it hangs forever. also when I try to inspect the websocket in chrome browser (in that case) the whole browser freezes.Desired behavior
cy.writeFile
should either handle big payloads or have some explicit limitations.Test code to reproduce
Cypress Version
8.3.0
Other
tried to use a
task
and faced the same result, since it seems to be failing to send the serialized args (in case of big payloads).The text was updated successfully, but these errors were encountered: