我有Travis-CI运行Sauce Connect来运行Behat测试。如果我告诉Sauce在Windows 7上使用Firefox 26,一切正常。但是,如果我将浏览器更改为Internet Explorer(Sauce Labs在Windows 7上提供的三个版本中的任何一个 - 即IE8,IE9和IE10 ),那么它不起作用。Travis-CI + Sauce Connect + Behat:无法让Internet Explorer运行测试
在the Sauce page that shows the IE browser test,就说明它的长视频显示无非This is the initial start page for the WebDriver server.
错误信息在页面的顶部显示的其他显示该浏览器截图:然而,截屏是用13分钟长,所以它是在最少接收一些命令,即使它从未对它们进行过操作。
与此同时,在特拉维斯边,我看到的是:
2014-02-18 04:34:13,124 - Request started: GET http://ctldl.windowsupdate.com/msdownload/update/v3/static/trustedr/en/disallowedcertstl.cab?f20efc77fc170e42
2014-02-18 04:34:13,211 - GET http://ctldl.windowsupdate.com/msdownload/update/v3/static/trustedr/en/disallowedcertstl.cab?f20efc77fc170e42 -> 200 (88ms, 6356 bytes)
2014-02-18 04:34:13,417 - Request started: GET https://ieonline.microsoft.com/iedomainsuggestions/ie10/201402/suggestions.en-US
2014-02-18 04:34:13,503 - GET https://ieonline.microsoft.com/iedomainsuggestions/ie10/201402/suggestions.en-US -> 200 (87ms, 18176 bytes)
No output has been received in the last 10 minutes, this potentially indicates a stalled build or something wrong with the build itself.
The build has been terminated
我在表明这可以通过非常规的端口引起找到3210,但我在端口上运行我的应用程序通过HTTPS 443,所以这似乎不是问题。
下面是通过酱运行Internet Explorer 9我贝哈特YAML配置文件:
# Use this profile to run tests on Sauce against the Travis-CI instance
default:
context:
class: "FeatureContext"
extensions:
Behat\MinkExtension\Extension:
base_url: https://localhost
default_session: saucelabs
javascript_session: saucelabs
saucelabs:
browser: "internet explorer"
capabilities:
platform: "Windows 7"
version: 9
我正在贝哈特2.5.2,虽然我有同样的问题与2.4.x.
我不确定要去哪里或从这里做什么。我的下一步应该是什么?
看起来像端口443应该工作,但我很好奇,如果你看到像8000的非SSL端口相同的行为?是否容易更改您的应用程序端口和检查? –
尝试使用SSL的端口8000,得到了相同的结果:https://saucelabs.com/tests/674fb14952724a4e88cc1b24084afa32适用于Firefox,不适用于IE。可以尝试使用HTTP而不是端口8000上的HTTPS,但是更改涉及更多... – Trott