{"action":"created","issue":{"url":"https://api.github.com/repos/ustwo/ustwo.com-frontend/issues/234","labels_url":"https://api.github.com/repos/ustwo/ustwo.com-frontend/issues/234/labels{/name}","comments_url":"https://api.github.com/repos/ustwo/ustwo.com-frontend/issues/234/comments","events_url":"https://api.github.com/repos/ustwo/ustwo.com-frontend/issues/234/events","html_url":"https://github.com/ustwo/ustwo.com-frontend/pull/234","id":112392524,"number":234,"title":"Features/integration tests","user":{"login":"daaain","id":69962,"avatar_url":"https://avatars.githubusercontent.com/u/69962?v=3","gravatar_id":"","url":"https://api.github.com/users/daaain","html_url":"https://github.com/daaain","followers_url":"https://api.github.com/users/daaain/followers","following_url":"https://api.github.com/users/daaain/following{/other_user}","gists_url":"https://api.github.com/users/daaain/gists{/gist_id}","starred_url":"https://api.github.com/users/daaain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daaain/subscriptions","organizations_url":"https://api.github.com/users/daaain/orgs","repos_url":"https://api.github.com/users/daaain/repos","events_url":"https://api.github.com/users/daaain/events{/privacy}","received_events_url":"https://api.github.com/users/daaain/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ustwo/ustwo.com-frontend/labels/dev_complete","name":"dev_complete","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":19,"created_at":"2015-10-20T15:19:29Z","updated_at":"2015-11-12T14:19:25Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ustwo/ustwo.com-frontend/pulls/234","html_url":"https://github.com/ustwo/ustwo.com-frontend/pull/234","diff_url":"https://github.com/ustwo/ustwo.com-frontend/pull/234.diff","patch_url":"https://github.com/ustwo/ustwo.com-frontend/pull/234.patch"},"body":"@collingo @ch2ch3 @phil-linnell after a long labour the baby is born, we have Sauce Labs integrations tests running, pulling local.ustwo.com through the Sauce Connect tunnel, which itself is wrapped into a Docker image, phew :)\r\n\r\nPlease have a go, you'll need to `make build-compiler` as there are a few new NPM packages, but after that just running `make test` for everything or `make assets-integration` should nicely execute tests in 3 browsers in parallel.\r\n\r\nOh, you'll need SAUCE_USERNAME and SAUCE_ACCESS_KEY set up as environment variables in your shell, message me for the actual keys!"},"comment":{"url":"https://api.github.com/repos/ustwo/ustwo.com-frontend/issues/comments/156113812","html_url":"https://github.com/ustwo/ustwo.com-frontend/pull/234#issuecomment-156113812","issue_url":"https://api.github.com/repos/ustwo/ustwo.com-frontend/issues/234","id":156113812,"user":{"login":"ch2ch3","id":8350141,"avatar_url":"https://avatars.githubusercontent.com/u/8350141?v=3","gravatar_id":"","url":"https://api.github.com/users/ch2ch3","html_url":"https://github.com/ch2ch3","followers_url":"https://api.github.com/users/ch2ch3/followers","following_url":"https://api.github.com/users/ch2ch3/following{/other_user}","gists_url":"https://api.github.com/users/ch2ch3/gists{/gist_id}","starred_url":"https://api.github.com/users/ch2ch3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ch2ch3/subscriptions","organizations_url":"https://api.github.com/users/ch2ch3/orgs","repos_url":"https://api.github.com/users/ch2ch3/repos","events_url":"https://api.github.com/users/ch2ch3/events{/privacy}","received_events_url":"https://api.github.com/users/ch2ch3/received_events","type":"User","site_admin":false},"created_at":"2015-11-12T14:19:25Z","updated_at":"2015-11-12T14:19:25Z","body":"Hey @daaain, finally managed to get the tests running with Arnau's help :) everything looks great but Android tests are failing me:\r\n\r\n```\r\nandroid:            1) \"before all\" hook\r\nandroid:            2) \"after all\" hook\r\nandroid:          0 passing (2m)\r\nandroid:          2 failing\r\nandroid:          1)   mocha integration tests (android) \"before all\" hook:\r\nandroid:             Error: timeout of 100000ms exceeded. Ensure the done() callback is being called in this test.\r\nandroid:\r\nandroid:          2)   mocha integration tests (android) \"after all\" hook:\r\nandroid:             Error: [quit()] Unexpected data in simpleCallback.\r\nandroid:              at exports.newError (node_modules/wd/lib/utils.js:139:13)\r\nandroid:              at [object Object].<anonymous> (node_modules/wd/lib/callbacks.js:42:12)\r\nandroid:              at cb (node_modules/wd/lib/webdriver.js:160:22)\r\nandroid:              at node_modules/wd/lib/webdriver.js:174:5\r\nandroid:              at Request._callback (node_modules/wd/lib/http-utils.js:87:7)\r\nandroid:              at Request.self.callback (node_modules/wd/node_modules/request/request.js:368:22)\r\nandroid:              at Request.<anonymous> (node_modules/wd/node_modules/request/request.js:1219:14)\r\nandroid:              at IncomingMessage.<anonymous> (node_modules/wd/node_modules/request/request.js:1167:12)\r\nandroid:              at endReadableNT (_stream_readable.js:893:12)\r\nSOME TEST(S) FAILED!\r\n\r\nnpm ERR! Linux 4.1.12-boot2docker\r\nnpm ERR! argv \"/usr/bin/node\" \"/usr/bin/npm\" \"run\" \"integration\" \"ethel\"\r\nnpm ERR! node v4.1.1\r\nnpm ERR! npm  v2.14.4\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! usweb-compiler@0.0.0 integration: `NODE_ENV=development babel-node ./src/app/lib/parallel-mochas '--compilers js:babel/register --reporter spec ./test/integration/*.js' \"ethel\"`\r\nnpm ERR! Exit status 1\r\nnpm ERR!\r\nnpm ERR! Failed at the usweb-compiler@0.0.0 integration script 'NODE_ENV=development babel-node ./src/app/lib/parallel-mochas '--compilers js:babel/register --reporter spec ./test/integration/*.js' \"ethel\"'.\r\nnpm ERR! This is most likely a problem with the usweb-compiler package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     NODE_ENV=development babel-node ./src/app/lib/parallel-mochas '--compilers js:babel/register --reporter spec ./test/integration/*.js' \"ethel\"\r\nnpm ERR! You can get their info via:\r\nnpm ERR!     npm owner ls usweb-compiler\r\nnpm ERR! There is likely additional logging output above.\r\n\r\nnpm ERR! Please include the following file with any support request:\r\nnpm ERR!     /home/ustwo/npm-debug.log\r\nmake: *** [assets-integration-test] Error 1\r\n```"}}