rquellh / testcafe-cucumber

Integration of TestCafe and CucumberJS
MIT License
95 stars 59 forks source link

test to capture testCafeController fails if file already exists. #37

Open robophil opened 2 years ago

robophil commented 2 years ago

https://github.com/rquellh/testcafe-cucumber/blob/11644e30aacf353ad13208f37cafe3e49d922f57/features/support/hooks.js#L13-L22 When i create this file manually and try to run, it fails and talks about not being able to find fixture. Even if I import it above alongside test like const { fixture, test} = require("testcafe");

But when it's generated during runtime, it works without any problem. Any reason to explain this? Thanks.