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>
16 lines
335 B
JavaScript
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,
|
|
},
|
|
});
|