Electron 如何用电子运行柏树开放

Electron 如何用电子运行柏树开放,electron,cypress,Electron,Cypress,我对cy.visit有问题,只挂在electron上,但chrome没问题。cypress run控制台中没有错误,因此希望使用electron运行cypress open,但不确定如何运行cypress open--浏览器electron或节点模块/cypress/bin/cypress open--浏览器节点模块/electron/dist/electron.app/Contents/MacOS/electron不工作 我尝试了cypress run--headed,但cypress run

我对cy.visit有问题,只挂在electron上,但chrome没问题。cypress run控制台中没有错误,因此希望使用electron运行
cypress open
,但不确定如何运行
cypress open--浏览器electron
节点模块/cypress/bin/cypress open--浏览器节点模块/electron/dist/electron.app/Contents/MacOS/electron
不工作


我尝试了
cypress run--headed
,但cypress run不允许您中途停止测试并调查错误。暂停测试将关闭窗口。

如有关的文档中所述,浏览器标志仅用于指定要添加到Cypress中可用浏览器列表中的自定义浏览器的路径。Electron是与Cypress捆绑的默认浏览器,启动UI时不必指定它。在启动测试套件之前,您可以在UI上选择所需的任何浏览器(请参见屏幕截图)


你能在cypress打开时使用Electron吗?