spaxel/dashboard/playwright.config.js
jedarden 6951ff1d00 feat(dashboard): add axe-core accessibility CI gate for all dashboard pages
Add @axe-core/playwright with Playwright test runner that asserts zero
WCAG 2A/2AA violations across index, live, fleet, setup, and
integrations pages. Fix contrast violations on integrations page: use
darker blue for primary buttons, lighter text for descriptions/hints,
and add body-level dark background in layout.css.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-24 18:31:17 -04:00

16 lines
335 B
JavaScript

const { defineConfig } = require('@playwright/test');
module.exports = defineConfig({
testDir: './tests',
timeout: 30000,
retries: 0,
use: {
baseURL: 'http://localhost:3210',
headless: true,
},
webServer: {
command: 'npx http-server . -p 3210 --silent',
port: 3210,
reuseExistingServer: true,
},
});