Open robophil opened 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");
fixture
test
const { fixture, test} = require("testcafe");
But when it's generated during runtime, it works without any problem. Any reason to explain this? Thanks.
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 alongsidetest
likeconst { fixture, test} = require("testcafe");
But when it's generated during runtime, it works without any problem. Any reason to explain this? Thanks.