Use global testcafe (optional)
romanresh opened this issue · 2 comments
romanresh commented
Use global testcafe (optional)
FDMatthias commented
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.
elfia commented
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!