{"action":"created","issue":{"url":"https://api.github.com/repos/inf3rno/e2e-testing/issues/106","repository_url":"https://api.github.com/repos/inf3rno/e2e-testing","labels_url":"https://api.github.com/repos/inf3rno/e2e-testing/issues/106/labels{/name}","comments_url":"https://api.github.com/repos/inf3rno/e2e-testing/issues/106/comments","events_url":"https://api.github.com/repos/inf3rno/e2e-testing/issues/106/events","html_url":"https://github.com/inf3rno/e2e-testing/issues/106","id":374615356,"node_id":"MDU6SXNzdWUzNzQ2MTUzNTY=","number":106,"title":"Refreshing the page with location.href does not work, we need a solution for that","user":{"login":"inf3rno","id":408911,"node_id":"MDQ6VXNlcjQwODkxMQ==","avatar_url":"https://avatars2.githubusercontent.com/u/408911?v=4","gravatar_id":"","url":"https://api.github.com/users/inf3rno","html_url":"https://github.com/inf3rno","followers_url":"https://api.github.com/users/inf3rno/followers","following_url":"https://api.github.com/users/inf3rno/following{/other_user}","gists_url":"https://api.github.com/users/inf3rno/gists{/gist_id}","starred_url":"https://api.github.com/users/inf3rno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inf3rno/subscriptions","organizations_url":"https://api.github.com/users/inf3rno/orgs","repos_url":"https://api.github.com/users/inf3rno/repos","events_url":"https://api.github.com/users/inf3rno/events{/privacy}","received_events_url":"https://api.github.com/users/inf3rno/received_events","type":"User","site_admin":false},"labels":[{"id":1019031380,"node_id":"MDU6TGFiZWwxMDE5MDMxMzgw","url":"https://api.github.com/repos/inf3rno/e2e-testing/labels/do:%20enhance","name":"do: enhance","color":"0e8a16","default":false},{"id":1017453291,"node_id":"MDU6TGFiZWwxMDE3NDUzMjkx","url":"https://api.github.com/repos/inf3rno/e2e-testing/labels/on:%20library","name":"on: library","color":"0e8a16","default":false},{"id":1017455677,"node_id":"MDU6TGFiZWwxMDE3NDU1Njc3","url":"https://api.github.com/repos/inf3rno/e2e-testing/labels/priority%202:%20important","name":"priority 2: important","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":{"login":"inf3rno","id":408911,"node_id":"MDQ6VXNlcjQwODkxMQ==","avatar_url":"https://avatars2.githubusercontent.com/u/408911?v=4","gravatar_id":"","url":"https://api.github.com/users/inf3rno","html_url":"https://github.com/inf3rno","followers_url":"https://api.github.com/users/inf3rno/followers","following_url":"https://api.github.com/users/inf3rno/following{/other_user}","gists_url":"https://api.github.com/users/inf3rno/gists{/gist_id}","starred_url":"https://api.github.com/users/inf3rno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inf3rno/subscriptions","organizations_url":"https://api.github.com/users/inf3rno/orgs","repos_url":"https://api.github.com/users/inf3rno/repos","events_url":"https://api.github.com/users/inf3rno/events{/privacy}","received_events_url":"https://api.github.com/users/inf3rno/received_events","type":"User","site_admin":false},"assignees":[{"login":"inf3rno","id":408911,"node_id":"MDQ6VXNlcjQwODkxMQ==","avatar_url":"https://avatars2.githubusercontent.com/u/408911?v=4","gravatar_id":"","url":"https://api.github.com/users/inf3rno","html_url":"https://github.com/inf3rno","followers_url":"https://api.github.com/users/inf3rno/followers","following_url":"https://api.github.com/users/inf3rno/following{/other_user}","gists_url":"https://api.github.com/users/inf3rno/gists{/gist_id}","starred_url":"https://api.github.com/users/inf3rno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inf3rno/subscriptions","organizations_url":"https://api.github.com/users/inf3rno/orgs","repos_url":"https://api.github.com/users/inf3rno/repos","events_url":"https://api.github.com/users/inf3rno/events{/privacy}","received_events_url":"https://api.github.com/users/inf3rno/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/inf3rno/e2e-testing/milestones/3","html_url":"https://github.com/inf3rno/e2e-testing/milestone/3","labels_url":"https://api.github.com/repos/inf3rno/e2e-testing/milestones/3/labels","id":3561726,"node_id":"MDk6TWlsZXN0b25lMzU2MTcyNg==","number":3,"title":"v0.2.x","description":"Low level API for navigation, form submitting, link following. We should be able to wait for specific events to happen and wait for multiple events to happen, for example we should be able to wait 3 page errors in a row or 2 clicks on the same element, etc... All modal dialogs must be mocked out too.","creator":{"login":"inf3rno","id":408911,"node_id":"MDQ6VXNlcjQwODkxMQ==","avatar_url":"https://avatars2.githubusercontent.com/u/408911?v=4","gravatar_id":"","url":"https://api.github.com/users/inf3rno","html_url":"https://github.com/inf3rno","followers_url":"https://api.github.com/users/inf3rno/followers","following_url":"https://api.github.com/users/inf3rno/following{/other_user}","gists_url":"https://api.github.com/users/inf3rno/gists{/gist_id}","starred_url":"https://api.github.com/users/inf3rno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inf3rno/subscriptions","organizations_url":"https://api.github.com/users/inf3rno/orgs","repos_url":"https://api.github.com/users/inf3rno/repos","events_url":"https://api.github.com/users/inf3rno/events{/privacy}","received_events_url":"https://api.github.com/users/inf3rno/received_events","type":"User","site_admin":false},"open_issues":20,"closed_issues":21,"state":"open","created_at":"2018-08-10T19:15:37Z","updated_at":"2018-10-29T05:19:44Z","due_on":"2018-10-31T07:00:00Z","closed_at":null},"comments":5,"created_at":"2018-10-27T07:05:28Z","updated_at":"2018-10-29T06:15:30Z","closed_at":null,"author_association":"OWNER","body":"In #103 we discussed that by hash change and preventDefault we won't have navigation by hyperlinks. Apparently we have the same problem if we try to refresh the page:\r\n       const emptyPage = await navigator.load(`${pages}/empty.html`);\r\n        navigator.window.location.href = `${pages}/empty.html`;\r\n        await task.defer(200);\r\n\r\nIt should throw error because of unexpected redirection, but nothing happens, which means that it does not start navigation at all. We need to detect this and use a hyperlink or maybe some sort of location.refresh() function? I think something like this exists, but I never used it, so I forgot the exact name. Ohh, I think it is location.reload()."},"comment":{"url":"https://api.github.com/repos/inf3rno/e2e-testing/issues/comments/433799120","html_url":"https://github.com/inf3rno/e2e-testing/issues/106#issuecomment-433799120","issue_url":"https://api.github.com/repos/inf3rno/e2e-testing/issues/106","id":433799120,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMzc5OTEyMA==","user":{"login":"inf3rno","id":408911,"node_id":"MDQ6VXNlcjQwODkxMQ==","avatar_url":"https://avatars2.githubusercontent.com/u/408911?v=4","gravatar_id":"","url":"https://api.github.com/users/inf3rno","html_url":"https://github.com/inf3rno","followers_url":"https://api.github.com/users/inf3rno/followers","following_url":"https://api.github.com/users/inf3rno/following{/other_user}","gists_url":"https://api.github.com/users/inf3rno/gists{/gist_id}","starred_url":"https://api.github.com/users/inf3rno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inf3rno/subscriptions","organizations_url":"https://api.github.com/users/inf3rno/orgs","repos_url":"https://api.github.com/users/inf3rno/repos","events_url":"https://api.github.com/users/inf3rno/events{/privacy}","received_events_url":"https://api.github.com/users/inf3rno/received_events","type":"User","site_admin":false},"created_at":"2018-10-29T06:15:30Z","updated_at":"2018-10-29T06:15:30Z","author_association":"OWNER","body":"I think we can write a test with Promise.race and a maybe a 100 msec defer."}}
{"actor":{"display_login":"inf3rno"}}