testcafe-cucumber-typescript icon indicating copy to clipboard operation
testcafe-cucumber-typescript copied to clipboard

Support for running each scenario in new window

Open iam-amanxz opened this issue 3 years ago • 0 comments

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.

iam-amanxz avatar Apr 18 '21 14:04 iam-amanxz