{"action":"opened","issue":{"url":"https://api.github.com/repos/nightwatchjs/nightwatch/issues/1631","repository_url":"https://api.github.com/repos/nightwatchjs/nightwatch","labels_url":"https://api.github.com/repos/nightwatchjs/nightwatch/issues/1631/labels{/name}","comments_url":"https://api.github.com/repos/nightwatchjs/nightwatch/issues/1631/comments","events_url":"https://api.github.com/repos/nightwatchjs/nightwatch/issues/1631/events","html_url":"https://github.com/nightwatchjs/nightwatch/issues/1631","id":272000832,"number":1631,"title":"--suiteRetries fails to respect done() in global beforeEach","user":{"login":"wes-r","id":1568246,"avatar_url":"https://avatars3.githubusercontent.com/u/1568246?v=4","gravatar_id":"","url":"https://api.github.com/users/wes-r","html_url":"https://github.com/wes-r","followers_url":"https://api.github.com/users/wes-r/followers","following_url":"https://api.github.com/users/wes-r/following{/other_user}","gists_url":"https://api.github.com/users/wes-r/gists{/gist_id}","starred_url":"https://api.github.com/users/wes-r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wes-r/subscriptions","organizations_url":"https://api.github.com/users/wes-r/orgs","repos_url":"https://api.github.com/users/wes-r/repos","events_url":"https://api.github.com/users/wes-r/events{/privacy}","received_events_url":"https://api.github.com/users/wes-r/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-11-07T22:04:37Z","updated_at":"2017-11-07T22:04:37Z","closed_at":null,"author_association":"NONE","body":"Chrome: 62.0.3202.89\r\nMacOs: 10.13\r\nNightwatch: 0.9.16\r\nNode: 8.4.0\r\n\r\nMy global `beforeEach` function has some async setup in which I call `done()` at the end. This has been working great under normal conditions.\r\n\r\nWhen adding `--suiteRetries` and hitting a failure, I see my `beforeEach` code execute, but BEFORE it calls `done()`, the test suite's `before` starts to execute. This of course leads to a failure as the test is trying to run before all of the setup has been completed."}}
{"actor":{"display_login":"wes-r"}}