{"action":"opened","issue":{"url":"https://api.github.com/repos/beatfactor/nightwatch/issues/403","labels_url":"https://api.github.com/repos/beatfactor/nightwatch/issues/403/labels{/name}","comments_url":"https://api.github.com/repos/beatfactor/nightwatch/issues/403/comments","events_url":"https://api.github.com/repos/beatfactor/nightwatch/issues/403/events","html_url":"https://github.com/beatfactor/nightwatch/issues/403","id":65794455,"number":403,"title":"Global beforeEach behavior unexpected","user":{"login":"ryanfields","id":281412,"avatar_url":"https://avatars.githubusercontent.com/u/281412?v=3","gravatar_id":"","url":"https://api.github.com/users/ryanfields","html_url":"https://github.com/ryanfields","followers_url":"https://api.github.com/users/ryanfields/followers","following_url":"https://api.github.com/users/ryanfields/following{/other_user}","gists_url":"https://api.github.com/users/ryanfields/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanfields/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanfields/subscriptions","organizations_url":"https://api.github.com/users/ryanfields/orgs","repos_url":"https://api.github.com/users/ryanfields/repos","events_url":"https://api.github.com/users/ryanfields/events{/privacy}","received_events_url":"https://api.github.com/users/ryanfields/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-01T22:44:12Z","updated_at":"2015-04-01T22:44:12Z","closed_at":null,"body":"I'm noticing that a beforeEach defined in globals only runs at the start of each test suite.  A beforeEach defined anywhere should run before each test step, exhibiting the same behavior as a locally defined beforeEach.  If there's a need for something that only runs once per test file, there should be a beforeEachSuite hook.\r\n"}}