赛普拉斯 运行:保持测试 运行 开放

cypress run: keep test runner open

我如何 运行 我的 Cypress 测试使用:

cypress run --headed

但保留 test runner open at the end of the tests, like it is using the Cypress Test Runner in interactive mode (cypress open)?

我更喜欢 cypress run --headed 而不是 cypress open,后者需要用户交互才能启动测试。

(运行ning 中的上下文在持续集成中测试 Cypress,但使用 xvfbvnc 服务器,因此测试 运行ner 仍然可以测试完成后使用)。

你应该可以 运行:
cypress run --headed --no-exit
从版本 3.0.2 开始,下一个补丁发布。参见 PR here