{"action":"created","issue":{"url":"https://api.github.com/repos/philc/vimium/issues/1944","repository_url":"https://api.github.com/repos/philc/vimium","labels_url":"https://api.github.com/repos/philc/vimium/issues/1944/labels{/name}","comments_url":"https://api.github.com/repos/philc/vimium/issues/1944/comments","events_url":"https://api.github.com/repos/philc/vimium/issues/1944/events","html_url":"https://github.com/philc/vimium/issues/1944","id":128939288,"number":1944,"title":"Tests fail/hang with latest PhantomJS (2.1.1)","user":{"login":"stephanepoirier","id":12588253,"avatar_url":"https://avatars.githubusercontent.com/u/12588253?v=3","gravatar_id":"","url":"https://api.github.com/users/stephanepoirier","html_url":"https://github.com/stephanepoirier","followers_url":"https://api.github.com/users/stephanepoirier/followers","following_url":"https://api.github.com/users/stephanepoirier/following{/other_user}","gists_url":"https://api.github.com/users/stephanepoirier/gists{/gist_id}","starred_url":"https://api.github.com/users/stephanepoirier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephanepoirier/subscriptions","organizations_url":"https://api.github.com/users/stephanepoirier/orgs","repos_url":"https://api.github.com/users/stephanepoirier/repos","events_url":"https://api.github.com/users/stephanepoirier/events{/privacy}","received_events_url":"https://api.github.com/users/stephanepoirier/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-01-26T20:54:23Z","updated_at":"2016-02-23T06:46:27Z","closed_at":"2016-02-23T05:58:34Z","body":"With the latest PhantomJS (2.1.1), running `cake test` fails then hangs:\r\n\r\n```bash\r\nRunning unit tests...\r\nPass (136/136)\r\nRunning DOM tests...\r\nFail \"Mode utilities: not exit on escape if not enabled\" -  function (message) {\r\n  this.name = AssertionError;\r\n  this.message = message;\r\n}: Expected 0 but received 2\r\nFail \"Normal mode: not suppress escape\" -  function (message) {\r\n  this.name = AssertionError;\r\n  this.message = message;\r\n}: Expected 0 but received 2\r\n```\r\nExecution hangs when the test named \"Focus each input when its hint text is typed\" indirectly invokes: `page.sendEvent \"keypress\", request.key` (phantom_runner.coffee: line 32)\r\n\r\nI started investigating. I'm currently unsure about the root cause and how to fix. In the meantime, I'll update the CONTRIBUTING.md file to recommend using version PhantomJS 1.9.8, which works fine."},"comment":{"url":"https://api.github.com/repos/philc/vimium/issues/comments/187571096","html_url":"https://github.com/philc/vimium/issues/1944#issuecomment-187571096","issue_url":"https://api.github.com/repos/philc/vimium/issues/1944","id":187571096,"user":{"login":"stephanepoirier","id":12588253,"avatar_url":"https://avatars.githubusercontent.com/u/12588253?v=3","gravatar_id":"","url":"https://api.github.com/users/stephanepoirier","html_url":"https://github.com/stephanepoirier","followers_url":"https://api.github.com/users/stephanepoirier/followers","following_url":"https://api.github.com/users/stephanepoirier/following{/other_user}","gists_url":"https://api.github.com/users/stephanepoirier/gists{/gist_id}","starred_url":"https://api.github.com/users/stephanepoirier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephanepoirier/subscriptions","organizations_url":"https://api.github.com/users/stephanepoirier/orgs","repos_url":"https://api.github.com/users/stephanepoirier/repos","events_url":"https://api.github.com/users/stephanepoirier/events{/privacy}","received_events_url":"https://api.github.com/users/stephanepoirier/received_events","type":"User","site_admin":false},"created_at":"2016-02-23T06:46:27Z","updated_at":"2016-02-23T06:46:27Z","body":"Pull request #2015 addresses the hanging part of the issue. Tests are still failing. I suggest re-opening until it's fully fixed."}}