You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
npx playwright-watch test -c playwright.config.cjs
shows the error:
TypeError: Non-string provided as watch path: /.*\.e2e\.(test|spec)\.(js|ts|mjs)/,!node_modules
at unifyPaths (C:\Users\jonas\Desktop\tic-tac-toe\node_modules\chokidar\index.js:96:11)
at FSWatcher.add (C:\Users\jonas\Desktop\tic-tac-toe\node_modules\chokidar\index.js:411:15)
at Object.watch (C:\Users\jonas\Desktop\tic-tac-toe\node_modules\chokidar\index.js:969:11)
at watch (C:\Users\jonas\Desktop\tic-tac-toe\node_modules\playwright-watch\lib\watch.js:18:12)
at Object.defaultCommand [as handler] (C:\Users\jonas\Desktop\tic-tac-toe\node_modules\playwright-watch\commands\defaultCommand.js:7:3)
at C:\Users\jonas\Desktop\tic-tac-toe\node_modules\playwright-watch\node_modules\yargs\build\index.cjs:1:9052
at j (C:\Users\jonas\Desktop\tic-tac-toe\node_modules\playwright-watch\node_modules\yargs\build\index.cjs:1:4931)
at M.applyMiddlewareAndGetResult (C:\Users\jonas\Desktop\tic-tac-toe\node_modules\playwright-watch\node_modules\yargs\build\index.cjs:1:9021)
at M.runCommand (C:\Users\jonas\Desktop\tic-tac-toe\node_modules\playwright-watch\node_modules\yargs\build\index.cjs:1:7206)
at Bt.[runYargsParserAndExecuteCommands] (C:\Users\jonas\Desktop\tic-tac-toe\node_modules\playwright-watch\node_modules\yargs\build\index.cjs:1:54693)
This works when running Playwright directly with npx playwright test --browser=chromium -c playwright.config.cjs.
The text was updated successfully, but these errors were encountered:
playwright.config.cjs:
running:
npx playwright-watch test -c playwright.config.cjs
shows the error:
This works when running Playwright directly with
npx playwright test --browser=chromium -c playwright.config.cjs
.The text was updated successfully, but these errors were encountered: