{"id":22400128,"url":"https://github.com/currents-dev/currents-playwright-coverage-example","last_synced_at":"2025-04-13T08:41:52.001Z","repository":{"id":262473178,"uuid":"887342813","full_name":"currents-dev/currents-playwright-coverage-example","owner":"currents-dev","description":"An example repository on how to setup Coverage with Currents and Playwright","archived":false,"fork":false,"pushed_at":"2025-02-12T04:48:42.000Z","size":21026,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-11T18:05:04.916Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/currents-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-12T15:25:33.000Z","updated_at":"2025-03-09T17:08:34.000Z","dependencies_parsed_at":"2024-11-27T14:15:48.464Z","dependency_job_id":null,"html_url":"https://github.com/currents-dev/currents-playwright-coverage-example","commit_stats":null,"previous_names":["currents-dev/currents-playwright-coverage-example"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/currents-dev%2Fcurrents-playwright-coverage-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/currents-dev%2Fcurrents-playwright-coverage-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/currents-dev%2Fcurrents-playwright-coverage-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/currents-dev%2Fcurrents-playwright-coverage-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/currents-dev","download_url":"https://codeload.github.com/currents-dev/currents-playwright-coverage-example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248686981,"owners_count":21145613,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-05T08:11:29.315Z","updated_at":"2025-04-13T08:41:51.969Z","avatar_url":"https://github.com/currents-dev.png","language":"TypeScript","readme":"# Currents Coverage with Playwright\n\nPlaywright [code coverage](https://docs.currents.dev/guides/coverage) for Currents.\n\nThis 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.\n\n![currents-2024-11-21-16 21 20@2x](https://github.com/user-attachments/assets/2e2fb1da-31fa-43a7-b84e-670ce1b88c09)\n\n## Setup\n\n- Install dependencies with `npm install`\n- Update `playwright.config.ts` with Currents [record key](https://docs.currents.dev/guides/record-key) and [project id](https://docs.currents.dev/dashboard/projects/project-settings)\n- Run `npm run test` for running tests, behind the scenes:\n\n  - starts NextJS in dev mode\n  - runs playwright tests\n  - send coverage reports to Currents for post-processing\n\n## Examples\n\n- Run `npm run test:e2e` for using [`pwc`](https://docs.currents.dev/getting-started/playwright/you-first-playwright-run#using-the-cli) command\n- Run `npm run test:e2e:pwc-p` for [orchestrated](https://docs.currents.dev/guides/parallelization-guide/pw-parallelization/playwright-orchestration) runs\n\n## Licence\n\nMIT License\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcurrents-dev%2Fcurrents-playwright-coverage-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcurrents-dev%2Fcurrents-playwright-coverage-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcurrents-dev%2Fcurrents-playwright-coverage-example/lists"}