You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.
This one took me a while to debug, as the test was running fine when run by hand, and failed when run via jenkins.
In short: when jenkins runs selenium tests, the Selenium2Factory sets some capabilities: tunnel-identifier, build, tags.
This makes the connection to saucelabs fail (symptoms: no test running at all in saucelabs console, behat aborting with no output on the command line, our test code which is supposed to take a screenshot of the browser session creates a 0-bytes file).
I commented out the injection of tunnel-identifier, and the test now passes.
I think that the injection of capabilities should be enabled/disabled by a specific setting in the conf
The text was updated successfully, but these errors were encountered:
Sorry for getting back to this only now, but I believe #201, that I've created recently might offer a way to solve this problem. This however will create a BC break for people expecting tunnel to be always started.
This one took me a while to debug, as the test was running fine when run by hand, and failed when run via jenkins.
In short: when jenkins runs selenium tests, the Selenium2Factory sets some capabilities: tunnel-identifier, build, tags.
This makes the connection to saucelabs fail (symptoms: no test running at all in saucelabs console, behat aborting with no output on the command line, our test code which is supposed to take a screenshot of the browser session creates a 0-bytes file).
I commented out the injection of tunnel-identifier, and the test now passes.
I think that the injection of capabilities should be enabled/disabled by a specific setting in the conf
The text was updated successfully, but these errors were encountered: