{"action":"created","issue":{"url":"https://api.github.com/repos/thoughtbot/capybara-webkit/issues/729","labels_url":"https://api.github.com/repos/thoughtbot/capybara-webkit/issues/729/labels{/name}","comments_url":"https://api.github.com/repos/thoughtbot/capybara-webkit/issues/729/comments","events_url":"https://api.github.com/repos/thoughtbot/capybara-webkit/issues/729/events","html_url":"https://github.com/thoughtbot/capybara-webkit/issues/729","id":58785390,"number":729,"title":"JavaScript alert triggered, breaking build","user":{"login":"Koronen","id":543455,"avatar_url":"https://avatars.githubusercontent.com/u/543455?v=3","gravatar_id":"","url":"https://api.github.com/users/Koronen","html_url":"https://github.com/Koronen","followers_url":"https://api.github.com/users/Koronen/followers","following_url":"https://api.github.com/users/Koronen/following{/other_user}","gists_url":"https://api.github.com/users/Koronen/gists{/gist_id}","starred_url":"https://api.github.com/users/Koronen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Koronen/subscriptions","organizations_url":"https://api.github.com/users/Koronen/orgs","repos_url":"https://api.github.com/users/Koronen/repos","events_url":"https://api.github.com/users/Koronen/events{/privacy}","received_events_url":"https://api.github.com/users/Koronen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-24T18:54:28Z","updated_at":"2015-03-12T17:25:26Z","closed_at":null,"body":"Originally opened as thoughtbot/hound#403.\r\n\r\n@Koronen: \r\n> After checking out the current `master` branch (thoughtbot/hound@b292540f2f5535a8fea4d72fce095de2f6b909c9) and running either `bundle exec rake`, or a more narrowed down `bundle exec rspec spec/features/repo_list_spec.rb`, I almost always get a JavaScript alert saying \"Your repos failed to sync.\" (see screenshot), pausing execution of the tests. After I press OK, all remaining tests in that file (and in the case of `bundle exec rake` also some tests in other files) fail.\r\n\r\n@jferris:\r\n> I have the same issue, and I'm not sure how it's happening. We don't implement a GUI alert like that in capybara-webkit, so I'm not sure how it's managing to make one! Can you create an issue on capybara-webkit?\r\n\r\nThis issue is still present on my machine running tests for the current `master` branch of Hound (thoughtbot/hound@87d968266dcc185b07c036a6579cee5a964e2211 at the time of this writing). Given Joe's reply, this appears to be a bug in capybara-webkit. Any clues as to what could be causing this?\r\n\r\n![hound_b292540f2f5535a8fea4d72fce095de2f6b909c9_test_failure](https://cloud.githubusercontent.com/assets/543455/4407505/d1016c94-44ca-11e4-82fe-92f80eac0574.png)\r\n\r\n```\r\nFailures:\r\n\r\n  1) Repo list user deactivates private repo without subscription\r\n     Failure/Error: sign_in_as(user)\r\n     EOFError:\r\n       end of file reached\r\n     # ./spec/support/helpers/authentication_helper.rb:11:in `sign_in_as'\r\n     # ./spec/features/repo_list_spec.rb:132:in `block (2 levels) in <top (required)>'\r\n\r\n  2) Repo list user syncs repos\r\n     Failure/Error: sign_in_as(user)\r\n     Errno::EPIPE:\r\n       Broken pipe\r\n     # ./spec/support/helpers/authentication_helper.rb:11:in `sign_in_as'\r\n     # ./spec/features/repo_list_spec.rb:35:in `block (2 levels) in <top (required)>'\r\n\r\n  3) Repo list user views list\r\n     Failure/Error: sign_in_as(user)\r\n     Errno::EPIPE:\r\n       Broken pipe\r\n     # ./spec/support/helpers/authentication_helper.rb:11:in `sign_in_as'\r\n     # ./spec/features/repo_list_spec.rb:9:in `block (2 levels) in <top (required)>'\r\n\r\n  4) Repo list user filters list\r\n     Failure/Error: sign_in_as(user)\r\n     Errno::EPIPE:\r\n       Broken pipe\r\n     # ./spec/support/helpers/authentication_helper.rb:11:in `sign_in_as'\r\n     # ./spec/features/repo_list_spec.rb:21:in `block (2 levels) in <top (required)>'\r\n\r\n  5) Repo list user with admin access activates organization repo\r\n     Failure/Error: sign_in_as(user)\r\n     Errno::EPIPE:\r\n       Broken pipe\r\n     # ./spec/support/helpers/authentication_helper.rb:11:in `sign_in_as'\r\n     # ./spec/features/repo_list_spec.rb:93:in `block (2 levels) in <top (required)>'\r\n\r\n  6) Repo list user activates repo\r\n     Failure/Error: sign_in_as(user)\r\n     Errno::EPIPE:\r\n       Broken pipe\r\n     # ./spec/support/helpers/authentication_helper.rb:11:in `sign_in_as'\r\n     # ./spec/features/repo_list_spec.rb:67:in `block (2 levels) in <top (required)>'\r\n```\r\n\r\n```\r\nkoronen@paridae$ ruby --version\r\nruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-linux]\r\nkoronen@paridae$ qmake --version\r\nQMake version 2.01a\r\nUsing Qt version 4.8.6 in /usr/lib/x86_64-linux-gnu\r\nkoronen@paridae$ uname -a\r\nLinux paridae 3.13.0-45-generic #74-Ubuntu SMP Tue Jan 13 19:36:28 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux\r\n```"},"comment":{"url":"https://api.github.com/repos/thoughtbot/capybara-webkit/issues/comments/78537012","html_url":"https://github.com/thoughtbot/capybara-webkit/issues/729#issuecomment-78537012","issue_url":"https://api.github.com/repos/thoughtbot/capybara-webkit/issues/729","id":78537012,"user":{"login":"stringsn88keys","id":252056,"avatar_url":"https://avatars.githubusercontent.com/u/252056?v=3","gravatar_id":"","url":"https://api.github.com/users/stringsn88keys","html_url":"https://github.com/stringsn88keys","followers_url":"https://api.github.com/users/stringsn88keys/followers","following_url":"https://api.github.com/users/stringsn88keys/following{/other_user}","gists_url":"https://api.github.com/users/stringsn88keys/gists{/gist_id}","starred_url":"https://api.github.com/users/stringsn88keys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stringsn88keys/subscriptions","organizations_url":"https://api.github.com/users/stringsn88keys/orgs","repos_url":"https://api.github.com/users/stringsn88keys/repos","events_url":"https://api.github.com/users/stringsn88keys/events{/privacy}","received_events_url":"https://api.github.com/users/stringsn88keys/received_events","type":"User","site_admin":false},"created_at":"2015-03-12T17:25:26Z","updated_at":"2015-03-12T17:25:26Z","body":"I'm wondering if this is related to the random `EOFError` that I get when tagging scenarios in cucumber with `@javascript`. With version 1.3.0 of this gem, I get the error. With version 1.1.0 of the gem, I don't get the error."}}