Playwright code coverage for Currents.
This is a simple NextJS application. It uses Babel and Instanbul for instrumentating the code, then Playwright runs a set of e2e tests and send the results to Currents for post-processing.
-
Install dependencies with
npm install -
Update
playwright.config.tswith Currents record key and project id -
Run
npm run testfor running tests, behind the scenes:- starts NextJS in dev mode
- runs playwright tests
- send coverage reports to Currents for post-processing
- Run
npm run test:e2efor usingpwccommand - Run
npm run test:e2e:pwc-pfor orchestrated runs
MIT License
