{"action":"created","issue":{"url":"https://api.github.com/repos/DevExpress/testcafe/issues/2526","repository_url":"https://api.github.com/repos/DevExpress/testcafe","labels_url":"https://api.github.com/repos/DevExpress/testcafe/issues/2526/labels{/name}","comments_url":"https://api.github.com/repos/DevExpress/testcafe/issues/2526/comments","events_url":"https://api.github.com/repos/DevExpress/testcafe/issues/2526/events","html_url":"https://github.com/DevExpress/testcafe/issues/2526","id":333509323,"node_id":"MDU6SXNzdWUzMzM1MDkzMjM=","number":2526,"title":"`pressKey('enter')` does not work in Safari","user":{"login":"SleepyWerewolf","id":7356884,"node_id":"MDQ6VXNlcjczNTY4ODQ=","avatar_url":"https://avatars1.githubusercontent.com/u/7356884?v=4","gravatar_id":"","url":"https://api.github.com/users/SleepyWerewolf","html_url":"https://github.com/SleepyWerewolf","followers_url":"https://api.github.com/users/SleepyWerewolf/followers","following_url":"https://api.github.com/users/SleepyWerewolf/following{/other_user}","gists_url":"https://api.github.com/users/SleepyWerewolf/gists{/gist_id}","starred_url":"https://api.github.com/users/SleepyWerewolf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SleepyWerewolf/subscriptions","organizations_url":"https://api.github.com/users/SleepyWerewolf/orgs","repos_url":"https://api.github.com/users/SleepyWerewolf/repos","events_url":"https://api.github.com/users/SleepyWerewolf/events{/privacy}","received_events_url":"https://api.github.com/users/SleepyWerewolf/received_events","type":"User","site_admin":false},"labels":[{"id":476768751,"node_id":"MDU6TGFiZWw0NzY3Njg3NTE=","url":"https://api.github.com/repos/DevExpress/testcafe/labels/To%20be%20reproduced","name":"To be reproduced","color":"f9d0c4","default":false}],"state":"closed","locked":false,"assignee":{"login":"MarinaRukavitsyna","id":9428856,"node_id":"MDQ6VXNlcjk0Mjg4NTY=","avatar_url":"https://avatars3.githubusercontent.com/u/9428856?v=4","gravatar_id":"","url":"https://api.github.com/users/MarinaRukavitsyna","html_url":"https://github.com/MarinaRukavitsyna","followers_url":"https://api.github.com/users/MarinaRukavitsyna/followers","following_url":"https://api.github.com/users/MarinaRukavitsyna/following{/other_user}","gists_url":"https://api.github.com/users/MarinaRukavitsyna/gists{/gist_id}","starred_url":"https://api.github.com/users/MarinaRukavitsyna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarinaRukavitsyna/subscriptions","organizations_url":"https://api.github.com/users/MarinaRukavitsyna/orgs","repos_url":"https://api.github.com/users/MarinaRukavitsyna/repos","events_url":"https://api.github.com/users/MarinaRukavitsyna/events{/privacy}","received_events_url":"https://api.github.com/users/MarinaRukavitsyna/received_events","type":"User","site_admin":false},"assignees":[{"login":"MarinaRukavitsyna","id":9428856,"node_id":"MDQ6VXNlcjk0Mjg4NTY=","avatar_url":"https://avatars3.githubusercontent.com/u/9428856?v=4","gravatar_id":"","url":"https://api.github.com/users/MarinaRukavitsyna","html_url":"https://github.com/MarinaRukavitsyna","followers_url":"https://api.github.com/users/MarinaRukavitsyna/followers","following_url":"https://api.github.com/users/MarinaRukavitsyna/following{/other_user}","gists_url":"https://api.github.com/users/MarinaRukavitsyna/gists{/gist_id}","starred_url":"https://api.github.com/users/MarinaRukavitsyna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarinaRukavitsyna/subscriptions","organizations_url":"https://api.github.com/users/MarinaRukavitsyna/orgs","repos_url":"https://api.github.com/users/MarinaRukavitsyna/repos","events_url":"https://api.github.com/users/MarinaRukavitsyna/events{/privacy}","received_events_url":"https://api.github.com/users/MarinaRukavitsyna/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-06-19T03:45:58Z","updated_at":"2018-08-07T08:28:36Z","closed_at":"2018-08-07T08:28:36Z","author_association":"NONE","body":"### Are you requesting a feature or reporting a bug?\r\nReporting a bug\r\n\r\n\r\n### What is the current behavior?\r\nCalling `pressKey('enter')` on an `input` selector does not work in Safari.\r\n\r\n\r\n### What is the expected behavior?\r\n`pressKey('enter')` triggers an `input`'s keyup handler\r\n\r\n\r\n### How would you reproduce the current behavior (if this is a bug)?\r\nCall `pressKey('enter')` on an `input` selector\r\n\r\nTest code\r\n\r\n```js\r\ntest('It handles input', async test => {\r\n  const inputSelector = await new Selector('input');\r\n\r\n  await test\r\n    .typeText(inputSelector, 'hello world!')\r\n    .pressKey('enter');\r\n\r\n  // This only appears after the input's keyup handler is triggered\r\n  const panelSelector = await new Selector('.panel');\r\n\r\n  await test.expect(panelSelector.exists).ok();\r\n});\r\n```\r\n\r\n### Specify your\r\n* operating system: OSX 10.13.4\r\n* testcafe version: 0.20.3\r\n* node.js version: 10.3.0"},"comment":{"url":"https://api.github.com/repos/DevExpress/testcafe/issues/comments/410977227","html_url":"https://github.com/DevExpress/testcafe/issues/2526#issuecomment-410977227","issue_url":"https://api.github.com/repos/DevExpress/testcafe/issues/2526","id":410977227,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMDk3NzIyNw==","user":{"login":"miherlosev","id":4133518,"node_id":"MDQ6VXNlcjQxMzM1MTg=","avatar_url":"https://avatars2.githubusercontent.com/u/4133518?v=4","gravatar_id":"","url":"https://api.github.com/users/miherlosev","html_url":"https://github.com/miherlosev","followers_url":"https://api.github.com/users/miherlosev/followers","following_url":"https://api.github.com/users/miherlosev/following{/other_user}","gists_url":"https://api.github.com/users/miherlosev/gists{/gist_id}","starred_url":"https://api.github.com/users/miherlosev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miherlosev/subscriptions","organizations_url":"https://api.github.com/users/miherlosev/orgs","repos_url":"https://api.github.com/users/miherlosev/repos","events_url":"https://api.github.com/users/miherlosev/events{/privacy}","received_events_url":"https://api.github.com/users/miherlosev/received_events","type":"User","site_admin":false},"created_at":"2018-08-07T08:28:36Z","updated_at":"2018-08-07T08:28:36Z","author_association":"COLLABORATOR","body":"I will close the issue because no activity has been encountered for a long time.\r\nFeel free to reopen the issue if the problem persists and you can provide an example to reproduce it."}}
{"actor":{"display_login":"miherlosev"}}