-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
cy.run --headed --no-exit. Exits the browser after each spec. #19485
Comments
I have the same issue, though for me it happens without |
I noticed that the problem does not occur on version 9.1.1. @scarsam could you try to downgrade your Cypress and check if older version will also work for you? |
v9.1.1 works for me also (v9.2.0 not working) This also broken as a result: #4044 |
This was introduced by #18896. By adding 'exit' to the default config we elevated the exit key from being in the root options object ( We also added defaults for keystrokeDelay and isInteractive. We should confirm they are still being read correctly as well. |
Thanks, @ScriptyChris and @ejdaly. Downgrading to |
The code for this is done in cypress-io/cypress#19567, but has yet to be released. |
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
Current behavior
Trying out Cypress run with the headed and no exit option, but after each test, it still exits the test runner.
Desired behavior
With the
--headed --no-exit
flag I expect the test runner to not closeTest code to reproduce
I tried this with a fresh cypress installation. And ran the
run
command with one of the example specs included when you install Cypress.npx cypress run --headed --no-exit --spec "cypress/integration/1-getting-started/todo.spec.js"
Cypress Version
9.2.0
Other
No response
The text was updated successfully, but these errors were encountered: