playwright-coverage
playwright-coverage copied to clipboard
Track coverage in playwright tests
After first having issues with zero coverage, now I have basically the opposite problem of #5 — every line is marked as covered. Once I solved issues like #23 and...
In my case, the build generated by webpack contained two references to `sourceMappingURL` that matched the existing regex. The first one was in the middle of the minified script, looked...
Hello! I'm having some issues getting coverage in a monorepo where Playwright runs from a folder `root/e2e-tests/` and tests a server located at `root/frontend/`. I start the server and follow...
Hello, Custom reporters that do not implement `printsToStdio` function [prevent](https://github.com/microsoft/playwright/issues/18945) pretty much any Playwright output besides their own. Should `printsToStdio: () => false` be added to a reporter? Printing summary...
Hello, Trying to add coverage to Playwright using this package with my monorepo and Next.js (being in `/apps/next` dir), I stumbled upon having only files from Next.js dir but no...
Hey, anyone can please help me on this issue? `Error in reporter [Error: EISDIR: illegal operation on a directory, read]` I set configuration file same as README file, and when...
Hi @bgotink. Do you have a plan to support coverage report for @playwright/experimental-ct-react.
How to reproduce: 1. code example repo: https://github.com/stevez/playwright-test-coverage/tree/bgotink-coveage-lib-vite-integration git clone https://github.com/stevez/playwright-test-coverage.git git checkout bgotink-coveage-lib-vite-integration 2. npm install 3. npx playwright install 4. npm run test Then you will get following...
When I run against my app I get the following exception: ``` TypeError: Cannot read property 'trimEnd' of null at new CovSource (/Users/scott/cxone/apps/cxone-hybrid-webapp-boilerplate/node_modules/v8-to-istanbul/lib/source.js:6:27) at /Users/scott/cxone/apps/cxone-hybrid-webapp-boilerplate/node_modules/v8-to-istanbul/lib/v8-to-istanbul.js:54:90 at Array.map () at V8ToIstanbul.load...