Integrate @bgotink/playwright-coverage for E2E test coverage tracking:
Install @bgotink/playwright-coverage package
Update playwright.config.js with coverage reporter
Update test file imports to use coverage-enabled test function
Add e2e-tests.yml coverage artifact upload and merge job
Create codecov.yml with e2e flag configuration
Add E2E coverage skill and VS Code task
Coverage outputs: HTML, LCOV, JSON to coverage/e2e/
CI uploads merged coverage to Codecov with 'e2e' flag
Enables unified coverage view across unit and E2E tests
Controls HTML report auto-open behavior (set to 'never' for CI/non-interactive)
never
false
name
description
default
required
CI
Set to 'true' when running in CI environment
false
name
type
description
default
required
project
string
Browser project to run (chromium, firefox, webkit)
chromium
false
name
type
description
path
coverage-e2e
directory
E2E coverage output directory with LCOV and HTML reports
coverage/e2e/
name
type
description
path
playwright-report
directory
HTML test report directory
playwright-report/
name
type
description
path
test-results
directory
Test artifacts and traces
test-results/
category
subcategory
execution_time
risk_level
ci_cd_safe
requires_network
idempotent
test
e2e-coverage
medium
low
true
true
true
Test E2E Playwright Coverage
Overview
Runs Playwright end-to-end tests with code coverage collection using @bgotink/playwright-coverage. This skill collects V8 coverage data during test execution and generates reports in LCOV, HTML, and JSON formats suitable for upload to Codecov.