{"action":"created","issue":{"url":"https://api.github.com/repos/DevExpress/testcafe/issues/2371","repository_url":"https://api.github.com/repos/DevExpress/testcafe","labels_url":"https://api.github.com/repos/DevExpress/testcafe/issues/2371/labels{/name}","comments_url":"https://api.github.com/repos/DevExpress/testcafe/issues/2371/comments","events_url":"https://api.github.com/repos/DevExpress/testcafe/issues/2371/events","html_url":"https://github.com/DevExpress/testcafe/issues/2371","id":320043877,"number":2371,"title":"Test hangs indefinitely when encountering # in unresolvable url","user":{"login":"Seeker9889","id":28899942,"avatar_url":"https://avatars3.githubusercontent.com/u/28899942?v=4","gravatar_id":"","url":"https://api.github.com/users/Seeker9889","html_url":"https://github.com/Seeker9889","followers_url":"https://api.github.com/users/Seeker9889/followers","following_url":"https://api.github.com/users/Seeker9889/following{/other_user}","gists_url":"https://api.github.com/users/Seeker9889/gists{/gist_id}","starred_url":"https://api.github.com/users/Seeker9889/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Seeker9889/subscriptions","organizations_url":"https://api.github.com/users/Seeker9889/orgs","repos_url":"https://api.github.com/users/Seeker9889/repos","events_url":"https://api.github.com/users/Seeker9889/events{/privacy}","received_events_url":"https://api.github.com/users/Seeker9889/received_events","type":"User","site_admin":false},"labels":[{"id":243973514,"url":"https://api.github.com/repos/DevExpress/testcafe/labels/AREA:%20client","name":"AREA: client","color":"fef2c0","default":false},{"id":243973407,"url":"https://api.github.com/repos/DevExpress/testcafe/labels/SYSTEM:%20hammerhead","name":"SYSTEM: hammerhead","color":"bfe5bf","default":false},{"id":201866359,"url":"https://api.github.com/repos/DevExpress/testcafe/labels/TYPE:%20bug","name":"TYPE: bug","color":"f7c6c7","default":false}],"state":"open","locked":false,"assignee":{"login":"miherlosev","id":4133518,"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},"assignees":[{"login":"miherlosev","id":4133518,"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}],"milestone":{"url":"https://api.github.com/repos/DevExpress/testcafe/milestones/26","html_url":"https://github.com/DevExpress/testcafe/milestone/26","labels_url":"https://api.github.com/repos/DevExpress/testcafe/milestones/26/labels","id":3328911,"number":26,"title":"Sprint #12","description":"","creator":{"login":"AndreyBelym","id":4479386,"avatar_url":"https://avatars1.githubusercontent.com/u/4479386?v=4","gravatar_id":"","url":"https://api.github.com/users/AndreyBelym","html_url":"https://github.com/AndreyBelym","followers_url":"https://api.github.com/users/AndreyBelym/followers","following_url":"https://api.github.com/users/AndreyBelym/following{/other_user}","gists_url":"https://api.github.com/users/AndreyBelym/gists{/gist_id}","starred_url":"https://api.github.com/users/AndreyBelym/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndreyBelym/subscriptions","organizations_url":"https://api.github.com/users/AndreyBelym/orgs","repos_url":"https://api.github.com/users/AndreyBelym/repos","events_url":"https://api.github.com/users/AndreyBelym/events{/privacy}","received_events_url":"https://api.github.com/users/AndreyBelym/received_events","type":"User","site_admin":false},"open_issues":28,"closed_issues":7,"state":"open","created_at":"2018-05-08T09:16:26Z","updated_at":"2018-05-30T10:15:28Z","due_on":"2018-06-20T07:00:00Z","closed_at":null},"comments":4,"created_at":"2018-05-03T19:09:43Z","updated_at":"2018-05-30T10:58:56Z","closed_at":null,"author_association":"NONE","body":"### Are you requesting a feature or reporting a bug?\r\n\r\nBug\r\n\r\n### What is the current behavior?\r\n\r\nA fixture tries to navigate to a url which includes a fragment identifier (in my case, for a single-page application). Because the url is misspelled or (in the case of localhost) a local server is not running, test execution does not proceed past\r\n```\r\nRunning tests in:\r\n - Chrome 66.0.3359 / Windows 10.0.0\r\n\r\n NameOfFixture\r\n```\r\n\r\nThis text is displayed, and the test hangs indefinitely, regardless of what tests exist. No other fixture is switched to, and the -q argument for quarantine mode does not cause multiple test attempts. \r\n\r\n### What is the expected behavior?\r\n\r\nAn error is expected to be reported such as\r\n```\r\n Error in Role initializer -\r\n      Failed to find a DNS-record for the resource at \"https://www.splooo.com/#unimportant\".\r\n```\r\nand testcafe will proceed to another fixture.\r\n\r\nNote that if the # fragment identifier is removed, the error appears in this way, and another fixture is proceeded to as expected\r\n\r\n### How would you reproduce the current behavior (if this is a bug)?\r\n\r\nAttempt to run the following test code in an node.js project with `npm test`\r\n\r\n#### Provide the test code and the tested page URL (if applicable)\r\n\r\nTested page URL: URL doesn't matter, as long as it cannot actually be resolved by DNS. https://localhost/#whatever produces the error as well.\r\n\r\nTest code\r\n\r\n```\r\nfixture `Demonstrate problem`\r\n\t.page `https://www.splooo.com/#unimportant`\r\n\r\ntest('Not run', async t => {\r\n    await t\r\n\t\t.click('button[id=\"unused\"]');\r\n});\r\n```\r\n\r\n### Specify your\r\n\r\n* operating system: Windows 10\r\n* testcafe version: 0.19.2\r\n* node.js version: 5.3.0"},"comment":{"url":"https://api.github.com/repos/DevExpress/testcafe/issues/comments/393119462","html_url":"https://github.com/DevExpress/testcafe/issues/2371#issuecomment-393119462","issue_url":"https://api.github.com/repos/DevExpress/testcafe/issues/2371","id":393119462,"user":{"login":"damorton","id":3397660,"avatar_url":"https://avatars0.githubusercontent.com/u/3397660?v=4","gravatar_id":"","url":"https://api.github.com/users/damorton","html_url":"https://github.com/damorton","followers_url":"https://api.github.com/users/damorton/followers","following_url":"https://api.github.com/users/damorton/following{/other_user}","gists_url":"https://api.github.com/users/damorton/gists{/gist_id}","starred_url":"https://api.github.com/users/damorton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damorton/subscriptions","organizations_url":"https://api.github.com/users/damorton/orgs","repos_url":"https://api.github.com/users/damorton/repos","events_url":"https://api.github.com/users/damorton/events{/privacy}","received_events_url":"https://api.github.com/users/damorton/received_events","type":"User","site_admin":false},"created_at":"2018-05-30T10:58:56Z","updated_at":"2018-05-30T10:58:56Z","author_association":"NONE","body":"Sure will do "}}
{"actor":{"display_login":"damorton"}}