Reputation: 67
I would like to run/debug TestCafe tests using WebStorm. Does anyone have a suggested configuration I need to do this?
Upvotes: 3
Views: 673
Reputation: 93848
WebStorm doesn't provide any special support for TestCafe (if you miss it, please vote for WEB-30315); but you can use VS Code instructions to run/debug in WebStorm. Namely, you need Node.js Run configuration like the following:
where JavaScript file: is set to a path to your locally installed testcafe module, e.g. node_modules\testcafe\bin\testcafe.js
, and Application parameters: are testcafe cli args, like chrome myTestFile.js
Upvotes: 4