How can I run my Cypress
tests using:
cypress run --headed
but keep the test runner open at the end of the tests, like it is using the Cypress Test Runner in interactive mode (cypress open
)?
I prefer cypress run --headed
over cypress open
, which require user interaction to launch the tests.
(The context in running the Cypress tests in continuous integration, but with xvfb
and a vnc
server, so the test runner can still be used once the tests are complete).
You should be able to run:cypress run --headed --no-exit
As of version 3.0.2, the next patch release. See the PR here
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With