{"action":"created","issue":{"url":"https://api.github.com/repos/Behat/MinkExtension/issues/182","labels_url":"https://api.github.com/repos/Behat/MinkExtension/issues/182/labels{/name}","comments_url":"https://api.github.com/repos/Behat/MinkExtension/issues/182/comments","events_url":"https://api.github.com/repos/Behat/MinkExtension/issues/182/events","html_url":"https://github.com/Behat/MinkExtension/issues/182","id":52499712,"number":182,"title":"saucelabs connection fails when tests are run by jenkins","user":{"login":"gggeek","id":308634,"avatar_url":"https://avatars.githubusercontent.com/u/308634?v=3","gravatar_id":"","url":"https://api.github.com/users/gggeek","html_url":"https://github.com/gggeek","followers_url":"https://api.github.com/users/gggeek/followers","following_url":"https://api.github.com/users/gggeek/following{/other_user}","gists_url":"https://api.github.com/users/gggeek/gists{/gist_id}","starred_url":"https://api.github.com/users/gggeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gggeek/subscriptions","organizations_url":"https://api.github.com/users/gggeek/orgs","repos_url":"https://api.github.com/users/gggeek/repos","events_url":"https://api.github.com/users/gggeek/events{/privacy}","received_events_url":"https://api.github.com/users/gggeek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-12-19T16:16:32Z","updated_at":"2015-06-20T20:02:22Z","closed_at":null,"body":"This one took me a while to debug, as the test was running fine when run by hand, and failed when run via jenkins.\r\n\r\nIn short: when jenkins runs selenium tests, the Selenium2Factory sets some capabilities: tunnel-identifier, build, tags.\r\nThis 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).\r\n\r\nI commented out the injection of  tunnel-identifier, and the test now passes.\r\n\r\nI think that the injection of capabilities should be enabled/disabled by a specific setting in the conf"},"comment":{"url":"https://api.github.com/repos/Behat/MinkExtension/issues/comments/113814401","html_url":"https://github.com/Behat/MinkExtension/issues/182#issuecomment-113814401","issue_url":"https://api.github.com/repos/Behat/MinkExtension/issues/182","id":113814401,"user":{"login":"aik099","id":1277526,"avatar_url":"https://avatars.githubusercontent.com/u/1277526?v=3","gravatar_id":"","url":"https://api.github.com/users/aik099","html_url":"https://github.com/aik099","followers_url":"https://api.github.com/users/aik099/followers","following_url":"https://api.github.com/users/aik099/following{/other_user}","gists_url":"https://api.github.com/users/aik099/gists{/gist_id}","starred_url":"https://api.github.com/users/aik099/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aik099/subscriptions","organizations_url":"https://api.github.com/users/aik099/orgs","repos_url":"https://api.github.com/users/aik099/repos","events_url":"https://api.github.com/users/aik099/events{/privacy}","received_events_url":"https://api.github.com/users/aik099/received_events","type":"User","site_admin":false},"created_at":"2015-06-20T20:02:22Z","updated_at":"2015-06-20T20:02:22Z","body":"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."}}