{"action":"created","issue":{"url":"https://api.github.com/repos/theintern/intern/issues/637","repository_url":"https://api.github.com/repos/theintern/intern","labels_url":"https://api.github.com/repos/theintern/intern/issues/637/labels{/name}","comments_url":"https://api.github.com/repos/theintern/intern/issues/637/comments","events_url":"https://api.github.com/repos/theintern/intern/issues/637/events","html_url":"https://github.com/theintern/intern/issues/637","id":156244267,"number":637,"title":"Control click not working properly in latest version","user":{"login":"MartinDoyleUK","id":2427267,"avatar_url":"https://avatars.githubusercontent.com/u/2427267?v=3","gravatar_id":"","url":"https://api.github.com/users/MartinDoyleUK","html_url":"https://github.com/MartinDoyleUK","followers_url":"https://api.github.com/users/MartinDoyleUK/followers","following_url":"https://api.github.com/users/MartinDoyleUK/following{/other_user}","gists_url":"https://api.github.com/users/MartinDoyleUK/gists{/gist_id}","starred_url":"https://api.github.com/users/MartinDoyleUK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MartinDoyleUK/subscriptions","organizations_url":"https://api.github.com/users/MartinDoyleUK/orgs","repos_url":"https://api.github.com/users/MartinDoyleUK/repos","events_url":"https://api.github.com/users/MartinDoyleUK/events{/privacy}","received_events_url":"https://api.github.com/users/MartinDoyleUK/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-05-23T10:04:26Z","updated_at":"2016-05-24T13:50:06Z","closed_at":null,"body":"When upgrading from 3.1.1 to 3.2.0 we have a new test failure. We have a simulated control-click using the following test code:\r\n\r\n```javascript\r\nthis.remote.findByCssSelector(\"#SR_DISPLAY_NAME .value\")\r\n   .pressKeys(keys.CONTROL)\r\n   .click()\r\n   .pressKeys(keys.NULL)\r\n   .end()\r\n```\r\n\r\nThis is then detected using the following code, triggered by an \"ondijitclick\" event:\r\n\r\n```javascript\r\nvar middleButton = evt.button === 1,\r\n   leftButton = evt.button === 0,\r\n   ctrlKey = has(\"mac\") ? evt.metaKey : evt.ctrlKey;\r\nif (middleButton || (leftButton && ctrlKey))\r\n{\r\n   // Internal logic\r\n}\r\n```\r\n\r\nThe final result is testing whether the internal logic has been executed. Since upgrading, it no longer is when running the intern test on a linux vagrant machine in both FF and Chrome (although it works fine when tested manually in-browser on both a Linux machine and a Mac). Upgrading to 3.2.1 also does not fix the issue."},"comment":{"url":"https://api.github.com/repos/theintern/intern/issues/comments/221275656","html_url":"https://github.com/theintern/intern/issues/637#issuecomment-221275656","issue_url":"https://api.github.com/repos/theintern/intern/issues/637","id":221275656,"user":{"login":"MartinDoyleUK","id":2427267,"avatar_url":"https://avatars.githubusercontent.com/u/2427267?v=3","gravatar_id":"","url":"https://api.github.com/users/MartinDoyleUK","html_url":"https://github.com/MartinDoyleUK","followers_url":"https://api.github.com/users/MartinDoyleUK/followers","following_url":"https://api.github.com/users/MartinDoyleUK/following{/other_user}","gists_url":"https://api.github.com/users/MartinDoyleUK/gists{/gist_id}","starred_url":"https://api.github.com/users/MartinDoyleUK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MartinDoyleUK/subscriptions","organizations_url":"https://api.github.com/users/MartinDoyleUK/orgs","repos_url":"https://api.github.com/users/MartinDoyleUK/repos","events_url":"https://api.github.com/users/MartinDoyleUK/events{/privacy}","received_events_url":"https://api.github.com/users/MartinDoyleUK/received_events","type":"User","site_admin":false},"created_at":"2016-05-24T13:50:06Z","updated_at":"2016-05-24T13:50:06Z","body":"@jason0x43, I know you're very busy, but might you have a moment to suggest how long it'll be until you can have a look at this? Is it likely to be days or weeks?"}}
{"actor":{"display_login":"MartinDoyleUK"}}