【发布时间】:2019-02-13 22:21:22
【问题描述】:
我正在运行 TestCafe 测试并解决与 LocalTesting (https://www.browserstack.com/local-testing) 相关的 BrowserStack 故障。我不想在我的测试运行中使用 LocalTesting。
在阅读 TestCafe 的 BrowserStack 插件及其源代码 (https://github.com/DevExpress/testcafe-browser-provider-browserstack) 时,我看到默认使用 LocalTesting (ref. https://github.com/DevExpress/testcafe-browser-provider-browserstack/blob/9d45bb621cc29d1a3e78cb94d92a32a1f0dff216/src/index.js#L14O)。
当我将配置设置为 BROWSERSTACK_NO_LOCAL="TRUE" 时,我发现测试在 TestCafe 初始代理 URL 处超时,例如,
http://{host}:{port}/browser/connect/{session}
是否可以在没有 LocalTesting 的情况下在 BrowserStack 上运行 TestCafe 测试?
【问题讨论】:
标签: testing automated-tests e2e-testing testcafe browserstack