testcafe-cucumber-typescript
testcafe-cucumber-typescript copied to clipboard
Support for running each scenario in new window
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 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.