我试着在OpenShift中运行柏树端到端的测试。在本地,它可以工作,但是在OpenShift中,通过cypress run命令启动测试后会发生错误。OpenShift中的错误消息 A JavaScript error occurred in the main_setDefaultAppPaths (/e2e/cypre
我已经安装了Cypress 5.0和所有的浏览器- Chrome,Edge和FF。当我跑的时候无法在右上角看到所有浏览器。只有Electron在展示> npx cypress open --browser chromeCan't run because you've entered an invalidBrowser: 'chrome
如何在WebStorm中设置Cypress调试?我可以在我的代码中获得一条debugger语句来暂停Chrome中的执行,并使用devtools进行调试,但是在WebStorm中什么都没有发生。无论我是在运行还是调试我的配置,这都是正确的,我的配置就是npm run cypress (使用我的cypress open脚本)。在调试运行配置时,我在WebStorm<
它与铬通过发射器工作-与npx cypress run --browser chrome。Browser: electron was not found on your system or is not supported by Cypress.Cypress supports the following browsers:const { defineConfig } = require('cypress')
module.exportsretur