Testing “我们在”中具体说明了什么;mainWindowUrl";可执行电子应用程序(如atom/vscode)的.testcafe electron rc中的属性?

Testing “我们在”中具体说明了什么;mainWindowUrl";可执行电子应用程序(如atom/vscode)的.testcafe electron rc中的属性?,testing,automated-tests,electron,e2e-testing,testcafe,Testing,Automated Tests,Electron,E2e Testing,Testcafe,我在看存储库。 要使用testcafe自动化electron应用程序,我认为我们需要在.testcafe-electron-rc中提供“mainWindowUrl”。常规的electron应用程序中有index.html文件,我可以将其传递到mainWindowUrl,但我不确定我们应该传递什么给可执行的electron应用程序,如atom.exe/vscode.exe。要测试可执行的electron应用程序,您应该以另一种方式配置“testcafe浏览器提供程序插件”。有关更多信息,请参阅该部

我在看存储库。
要使用testcafe自动化electron应用程序,我认为我们需要在.testcafe-electron-rc中提供“mainWindowUrl”。常规的electron应用程序中有index.html文件,我可以将其传递到mainWindowUrl,但我不确定我们应该传递什么给可执行的electron应用程序,如atom.exe/vscode.exe。

要测试可执行的electron应用程序,您应该以另一种方式配置“testcafe浏览器提供程序插件”。有关更多信息,请参阅该部分。

如果TestCafe找不到主窗口URL,它将显示在应用程序初始化期间打开的URL列表。您可以将空字符串指定为
mainWindowUrl
的值,等待TestCafe显示错误并使用显示列表中的链接

谢谢你,安德烈