Files
Charon/package.json
GitHub Actions c3b20bff65 test: implement Caddy import E2E gap tests
Add 11 Playwright E2E tests covering Caddy import functionality gaps:

Success modal navigation and button actions (Gap 1)
Conflict details expansion with side-by-side comparison (Gap 2)
Overwrite resolution flow for existing hosts (Gap 3)
Session resume via banner (Gap 4 - skipped, documented limitation)
Custom name editing in review table (Gap 5)
Fixes:

backend/internal/caddy/importer.go: Handle errcheck lint errors
Result: 9 tests passing, 2 skipped with documented reason
2026-01-31 02:15:13 +00:00

23 lines
891 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",
"vite": "^7.3.1"
},
"devDependencies": {
"@bgotink/playwright-coverage": "^0.3.2",
"@playwright/test": "^1.58.1",
"@types/node": "^25.1.0",
"dotenv": "^17.2.3",
"markdownlint-cli2": "^0.20.0"
}
}