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
21 lines
844 B
JSON
21 lines
844 B
JSON
{
|
|
"type": "module",
|
|
"scripts": {
|
|
"e2e": "PLAYWRIGHT_HTML_OPEN=never npx playwright test --project=chromium",
|
|
"e2e:all": "PLAYWRIGHT_HTML_OPEN=never npx playwright test",
|
|
"e2e:headed": "npx playwright test --project=chromium --headed",
|
|
"e2e:report": "npx playwright show-report",
|
|
"lint:md": "markdownlint-cli2 '**/*.md' --ignore node_modules --ignore .venv --ignore test-results --ignore codeql-db --ignore codeql-agent-results",
|
|
"lint:md:fix": "markdownlint-cli2 '**/*.md' --fix --ignore node_modules --ignore .venv --ignore test-results --ignore codeql-db --ignore codeql-agent-results"
|
|
},
|
|
"dependencies": {
|
|
"tldts": "^7.0.19"
|
|
},
|
|
"devDependencies": {
|
|
"@bgotink/playwright-coverage": "^0.3.2",
|
|
"@playwright/test": "^1.57.0",
|
|
"@types/node": "^25.0.9",
|
|
"markdownlint-cli2": "^0.20.0"
|
|
}
|
|
}
|