Moved the creation of dummy test file to capture the test controller and creation of tests from BeforeAll hooks to Before hook so that each scenario will now start in its own new browser window.
Also moved the cleanup (destroy TestController, delete dummy test file) functions from AfterAll hook to After hook to enable cleanup after each test scenario.
This is a fix for issue #5
Moved the creation of dummy test file to capture the test controller and creation of tests from
BeforeAll
hooks toBefore
hook so that each scenario will now start in its own new browser window.Also moved the cleanup (destroy TestController, delete dummy test file) functions from
AfterAll
hook toAfter
hook to enable cleanup after each test scenario.