{"action":"created","issue":{"url":"https://api.github.com/repos/Seravo/wordpress/issues/25","repository_url":"https://api.github.com/repos/Seravo/wordpress","labels_url":"https://api.github.com/repos/Seravo/wordpress/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/Seravo/wordpress/issues/25/comments","events_url":"https://api.github.com/repos/Seravo/wordpress/issues/25/events","html_url":"https://github.com/Seravo/wordpress/issues/25","id":146526319,"number":25,"title":"RSpec tests: PhantomJS client died","user":{"login":"0is1","id":852249,"avatar_url":"https://avatars.githubusercontent.com/u/852249?v=3","gravatar_id":"","url":"https://api.github.com/users/0is1","html_url":"https://github.com/0is1","followers_url":"https://api.github.com/users/0is1/followers","following_url":"https://api.github.com/users/0is1/following{/other_user}","gists_url":"https://api.github.com/users/0is1/gists{/gist_id}","starred_url":"https://api.github.com/users/0is1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0is1/subscriptions","organizations_url":"https://api.github.com/users/0is1/orgs","repos_url":"https://api.github.com/users/0is1/repos","events_url":"https://api.github.com/users/0is1/events{/privacy}","received_events_url":"https://api.github.com/users/0is1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"nrosvall","id":5782680,"avatar_url":"https://avatars.githubusercontent.com/u/5782680?v=3","gravatar_id":"","url":"https://api.github.com/users/nrosvall","html_url":"https://github.com/nrosvall","followers_url":"https://api.github.com/users/nrosvall/followers","following_url":"https://api.github.com/users/nrosvall/following{/other_user}","gists_url":"https://api.github.com/users/nrosvall/gists{/gist_id}","starred_url":"https://api.github.com/users/nrosvall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nrosvall/subscriptions","organizations_url":"https://api.github.com/users/nrosvall/orgs","repos_url":"https://api.github.com/users/nrosvall/repos","events_url":"https://api.github.com/users/nrosvall/events{/privacy}","received_events_url":"https://api.github.com/users/nrosvall/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-04-07T07:00:59Z","updated_at":"2016-04-14T06:49:02Z","closed_at":null,"body":"Any idea why PhantomJS keeps crashing during some rspec-tests?\r\n\r\nFor example wp-admin login test (after 9 successful tests with same kind of login tests):\r\n\r\n```\r\ndescribe \"Login to wp-admin and test checkout-page link\" do\r\n      before do\r\n        visit WP.siteurl('/wp-admin')\r\n      end\r\n\r\n      it \"Log in to WordPress wp-admin\" do\r\n        within(\"#loginform\") do\r\n          fill_in 'log', :with => SOMELOGIN\r\n          fill_in 'pwd', :with => SOMEPASS\r\n        end\r\n        click_button 'wp-submit'\r\n        expect(page).to have_id \"wp-admin-bar-pro-site\"\r\n      end\r\n    end\r\n```\r\n\r\nAnd error:\r\n\r\n```\r\nFailure/Error: click_button 'wp-submit'\r\n     \r\n     Capybara::Poltergeist::DeadClient:\r\n       PhantomJS client died while processing {\"id\":\"796d6ac1-3767-482d-b797-ac959407cb0e\",\"name\":\"click\",\"args\":[2,3]}\r\n     # /var/lib/gems/2.2.0/gems/poltergeist-1.9.0/lib/capybara/poltergeist/server.rb:38:in `send'\r\n     # /var/lib/gems/2.2.0/gems/poltergeist-1.9.0/lib/capybara/poltergeist/browser.rb:344:in `command'\r\n     # /var/lib/gems/2.2.0/gems/poltergeist-1.9.0/lib/capybara/poltergeist/browser.rb:180:in `click'\r\n     # /var/lib/gems/2.2.0/gems/poltergeist-1.9.0/lib/capybara/poltergeist/node.rb:17:in `command'\r\n     # /var/lib/gems/2.2.0/gems/poltergeist-1.9.0/lib/capybara/poltergeist/node.rb:131:in `click'\r\n     # /var/lib/gems/2.2.0/gems/capybara-2.6.2/lib/capybara/node/element.rb:134:in `block in click'\r\n     # /var/lib/gems/2.2.0/gems/capybara-2.6.2/lib/capybara/node/base.rb:84:in `synchronize'\r\n     # /var/lib/gems/2.2.0/gems/capybara-2.6.2/lib/capybara/node/element.rb:134:in `click'\r\n     # /var/lib/gems/2.2.0/gems/capybara-2.6.2/lib/capybara/node/actions.rb:39:in `click_button'\r\n     # /var/lib/gems/2.2.0/gems/capybara-2.6.2/lib/capybara/session.rb:686:in `block (2 levels) in <class:Session>'\r\n     # /var/lib/gems/2.2.0/gems/capybara-2.6.2/lib/capybara/dsl.rb:51:in `block (2 levels) in <module:DSL>'\r\n     # ./tests/rspec/merge-dev_site_onboarding_tests.rb:294:in `block (4 levels) in <top (required)>'\r\n     # /var/lib/gems/2.2.0/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:98:in `block in run'\r\n     # /var/lib/gems/2.2.0/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:88:in `loop'\r\n     # /var/lib/gems/2.2.0/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:88:in `run'\r\n     # /var/lib/gems/2.2.0/gems/rspec-retry-0.4.5/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'\r\n     # /var/lib/gems/2.2.0/gems/rspec-retry-0.4.5/lib/rspec/retry.rb:22:in `block (2 levels) in setup'\r\n```\r\n\r\nI get same error also with tests like these:\r\n```\r\ndescribe 'Kaanon site tests' do\r\n\r\n    before do\r\n     visit WP.siteurl(\"/kaanon\")\r\n    end\r\n \r\n    it \"There's 'Kaanon | Pitkän tekstin ystävälle'-title\" do\r\n      expect(page.status_code).to be(200)\r\n      expect(page).to have_title 'Kaanon | Pitkän tekstin ystävälle'\r\n    end\r\n \r\n end\r\n```\r\n\r\nAnd error:\r\n```\r\nFailure/Error: visit WP.siteurl(\"/kaanon\")\r\n     \r\n     Capybara::Poltergeist::DeadClient:\r\n       PhantomJS client died while processing {\"id\":\"9cd02d81-7812-4151-8108-f26e20ff9a16\",\"name\":\"visit\",\"args\":[\"http://kehittamo.dev/kaanon\",60]}\r\n...\r\n```"},"comment":{"url":"https://api.github.com/repos/Seravo/wordpress/issues/comments/209787172","html_url":"https://github.com/Seravo/wordpress/issues/25#issuecomment-209787172","issue_url":"https://api.github.com/repos/Seravo/wordpress/issues/25","id":209787172,"user":{"login":"ottok","id":668724,"avatar_url":"https://avatars.githubusercontent.com/u/668724?v=3","gravatar_id":"","url":"https://api.github.com/users/ottok","html_url":"https://github.com/ottok","followers_url":"https://api.github.com/users/ottok/followers","following_url":"https://api.github.com/users/ottok/following{/other_user}","gists_url":"https://api.github.com/users/ottok/gists{/gist_id}","starred_url":"https://api.github.com/users/ottok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ottok/subscriptions","organizations_url":"https://api.github.com/users/ottok/orgs","repos_url":"https://api.github.com/users/ottok/repos","events_url":"https://api.github.com/users/ottok/events{/privacy}","received_events_url":"https://api.github.com/users/ottok/received_events","type":"User","site_admin":false},"created_at":"2016-04-14T06:49:02Z","updated_at":"2016-04-14T06:49:02Z","body":"Thanks for reporting, we will look into this next week."}}