-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Cypress prompts you to Continue Download or Quit every so often #18536
Comments
@mraible does this happens at the middle of the test or start? |
It happens while tests are running, usually at the end of a test. |
It’s related to downloading contents inside tests. |
@mraible in what application have you been hit by this problem? |
I've seen it in many apps this last couple of weeks. It doesn't seem to matter if it's a monolith or microservices. The web framework doesn't seem to matter either since I've seen it with Vue, Ionic, and even Svelte. |
What's the downloads.html content? |
@mshima it's 43MB of gibberish as far as I can tell. |
@mraible I've tried to reproduce, but I couldn't. |
We can close this issue and I can re-open it when I have more details. I think the most important thing for now is to ignore this directory so there's not git changes after running |
@mshima approved |
Overview of the issue
When running Cypress tests with
npm run e2e
, every so often, I'm prompted to continue downloading or Quit. If I click Quit, the tests continue and pass as expected.Motivation for or Use Case
This seems to create a
cypress/downloads/downloads.html
that is huge! 43MBReproduce the error
Create an app with Cypress, run
npm run e2e
a few times.Suggest a Fix
At the very least, we should ignore
cypress/downloads/downloads.html
(or maybe justcypress/
) in the generated.gitignore
when Cypress is chosen.JHipster Version(s)
main
branch as of May 1, 2022.JHipster Version(s)
JHipster configuration, a
.yo-rc.json
file generated in the root folder.yo-rc.json file
JDL for the Entity configuration(s)
entityName.json
files generated in the.jhipster
directoryJDL entity definitions
Environment and Tools
openjdk version "17.0.3" 2022-04-19
OpenJDK Runtime Environment GraalVM CE 22.1.0 (build 17.0.3+7-jvmci-22.1-b06)
OpenJDK 64-Bit Server VM GraalVM CE 22.1.0 (build 17.0.3+7-jvmci-22.1-b06, mixed mode, sharing)
git version 2.32.0 (Apple Git-132)
node: v16.15.0
npm: 8.6.0
Docker version 20.10.13, build a224086
docker-compose version 1.29.2, build 5becea4c
The text was updated successfully, but these errors were encountered: