vscode-testcafe icon indicating copy to clipboard operation
vscode-testcafe copied to clipboard

Use global testcafe (optional)

Open romanresh opened this issue 8 years ago • 2 comments

romanresh avatar Dec 14 '16 12:12 romanresh

A possible solution/workaround is to edit your VSCode user settings (or workspace) and add the following:

windows: "testcafeTestRunner.workspaceRoot": "C:/Users/<username>/AppData/Roaming/npm"

mac "testcafeTestRunner.workspaceRoot": "/usr/local/lib"

or wherever the global node_modules folder is located on your computer.

FDMatthias avatar Dec 08 '17 08:12 FDMatthias

Hi, is there a way to use these settings - "testcafeTestRunner" from the .testcaferc.json ? Because the VS settings.json file is not in the git repo For example I want to --skip-js-errors when running tests trough TestCafeTestRunner and I want this to be available for everyone, like the script in package.json Nice add-on!

elfia avatar Nov 26 '19 09:11 elfia