Files
itziarZG c492e5e214 test(e2e): add Playwright + axe-core smoke suite
Add @playwright/test, axe-core and @axe-core/playwright as devDependencies.

- playwright.config.ts with desktop+mobile projects and a webServer that boots astro preview on 127.0.0.1:4321.
- tests/e2e/site.spec.ts covers: home renders with H1 and textual map summary; skip-link is the first focusable and jumps to main; filter pills toggle aria-pressed and update the live counter; 404 is noindex; JSON-LD parses and exposes Organization+WebSite+ItemList; robots.txt and sitemap are wired to Astro.site; the 404 is excluded from the sitemap; the generated og-default.png is 1200x630.
- Scripts: test:e2e runs the suite, test:e2e:install pulls the chromium headless shell.
- .gitignore ignores test-results/, playwright-report/ and the playwright cache.

All 16 tests pass (8 desktop, 8 mobile).
2026-07-26 21:37:00 +02:00

69 lines
773 B
Plaintext

# Dependencies
node_modules/
# Package-manager caches
.pnpm-store/
.npm/
.yarn/cache/
.yarn/unplugged/
.yarn/build-state.yml
.yarn/install-state.gz
# Astro and build output
.astro/
dist/
.vercel/
.netlify/
# Environment variables and local secrets
.env
.env.*
!.env.example
!.env.template
# Certificates and private keys
*.pem
*.key
*.p12
*.pfx
*.jks
*.keystore
# Agent/tool-generated files
.agents/
.claude/
# Logs and test output
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
coverage/
# Temporary and cache files
.cache/
.tmp/
tmp/
*.tmp
*.swp
*.swo
*~
# Playwright
test-results/
playwright-report/
playwright/.cache/
# IDE settings
.idea/
.vscode/
*.code-workspace
# OS metadata
.DS_Store
.AppleDouble
.LSOverride
Thumbs.db
Desktop.ini