{"action":"created","issue":{"url":"https://api.github.com/repos/segmentio/nightmare/issues/571","repository_url":"https://api.github.com/repos/segmentio/nightmare","labels_url":"https://api.github.com/repos/segmentio/nightmare/issues/571/labels{/name}","comments_url":"https://api.github.com/repos/segmentio/nightmare/issues/571/comments","events_url":"https://api.github.com/repos/segmentio/nightmare/issues/571/events","html_url":"https://github.com/segmentio/nightmare/issues/571","id":148581094,"number":571,"title":"Running NightmareJS with Mocha on Bamboo agent","user":{"login":"mxmz-","id":7724063,"avatar_url":"https://avatars.githubusercontent.com/u/7724063?v=3","gravatar_id":"","url":"https://api.github.com/users/mxmz-","html_url":"https://github.com/mxmz-","followers_url":"https://api.github.com/users/mxmz-/followers","following_url":"https://api.github.com/users/mxmz-/following{/other_user}","gists_url":"https://api.github.com/users/mxmz-/gists{/gist_id}","starred_url":"https://api.github.com/users/mxmz-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mxmz-/subscriptions","organizations_url":"https://api.github.com/users/mxmz-/orgs","repos_url":"https://api.github.com/users/mxmz-/repos","events_url":"https://api.github.com/users/mxmz-/events{/privacy}","received_events_url":"https://api.github.com/users/mxmz-/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-15T07:37:26Z","updated_at":"2016-04-15T08:16:17Z","closed_at":null,"body":"I have been battling this issue for some time now and can not seem to find a solution. When running tests with NightmareJS on mocha on the server they fail.\r\n\r\nI have a stackoverflow question: http://stackoverflow.com/questions/36641279/running-nightmarejs-with-mocha-on-server-bamboo-agent\r\n\r\nI though that maybe people here would know better."},"comment":{"url":"https://api.github.com/repos/segmentio/nightmare/issues/comments/210352350","html_url":"https://github.com/segmentio/nightmare/issues/571#issuecomment-210352350","issue_url":"https://api.github.com/repos/segmentio/nightmare/issues/571","id":210352350,"user":{"login":"Mr0grog","id":74178,"avatar_url":"https://avatars.githubusercontent.com/u/74178?v=3","gravatar_id":"","url":"https://api.github.com/users/Mr0grog","html_url":"https://github.com/Mr0grog","followers_url":"https://api.github.com/users/Mr0grog/followers","following_url":"https://api.github.com/users/Mr0grog/following{/other_user}","gists_url":"https://api.github.com/users/Mr0grog/gists{/gist_id}","starred_url":"https://api.github.com/users/Mr0grog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mr0grog/subscriptions","organizations_url":"https://api.github.com/users/Mr0grog/orgs","repos_url":"https://api.github.com/users/Mr0grog/repos","events_url":"https://api.github.com/users/Mr0grog/events{/privacy}","received_events_url":"https://api.github.com/users/Mr0grog/received_events","type":"User","site_admin":false},"created_at":"2016-04-15T08:16:17Z","updated_at":"2016-04-15T08:16:17Z","body":"Do you get any output with the test failures at all? Any error messages Bamboo is able to report for you?\r\n\r\nDo you have XVFB installed and running on your Bamboo server? It’s been a long time since I’ve touched anything with Bamboo and am not sure if it’s built-in. You need it to run Nightmare (well, Chromium, really) without a screen.\r\n\r\nYou might want to look into some of the stuff on issue #224. There’s a lot of back-and-forth there, but maybe some of it will be helpful to you."}}