Commit 8d6300e
Add Playwright test suite for Kodra website
- Add package.json with Playwright, axe-core, and serve dependencies
- Add playwright.config.js with 7 browser projects (chromium, edge, webkit, firefox, mobile-chrome, mobile-safari, ipad)
- Add browser-compatibility.spec.js: scroll, CSS validation, footer rendering, Safari compat, mobile touch targets, navigation, responsive layout, link validation, image loading, terminal component (40 tests)
- Add world-class-audit.spec.js: WCAG 2.1 AA accessibility, Core Web Vitals performance, SEO/meta/JSON-LD, security, visual regression screenshots, Kodra content validation (35 tests)
- Add .github/workflows/website-tests.yml for CI on website file changes
- Update .gitignore with playwright-report/ and playwright/.cache/
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent e3f3933 commit 8d6300e
10 files changed
Lines changed: 2193 additions & 0 deletions
File tree
- .github/workflows
- tests/website
- world-class-audit.spec.js-snapshots
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
0 commit comments