You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I execute the tests with cypress run (i.e. electron) and some tests fail, the cypress process logs the failure but does not return. The process stays alive until I kill it. Only if the tests succeed, the cypress process returns.
In Concourse this has the unfortunate effect that failing tests never get reported, rather they hang.
Expectation: the cypress container should return an error code for failing tests and shut down.
Note: I have observed the same behaviour with cypress run locally outside of docker in electron.
Workaround: use --browser chrome
The text was updated successfully, but these errors were encountered:
dschulten
changed the title
Container does not shut down after test failure
Container does not shut down after test failure in electron
Dec 31, 2021
Hey @dschulten, I setup a super simple repo with a failing test that i can run from the docker container, mjhenkes/cypress-test-repo, but i'm unable to recreate your issue.
Is there any more information you can provide about how to recreate the scenario where the container fails to shut down?
cypress/included:9.2.0
When I execute the tests with
cypress run
(i.e. electron) and some tests fail, the cypress process logs the failure but does not return. The process stays alive until I kill it. Only if the tests succeed, the cypress process returns.In Concourse this has the unfortunate effect that failing tests never get reported, rather they hang.
Expectation: the cypress container should return an error code for failing tests and shut down.
Note: I have observed the same behaviour with
cypress run
locally outside of docker in electron.Workaround: use --browser chrome
The text was updated successfully, but these errors were encountered: