* feat(scripts): add MOBILE_FIRST_MARKERS + _check_mobile_first check * feat(templates): fullstack mobile-first PWA manifest + mobile Playwright + axe * test(scripts): cover mobile-first markers, check, cookiecutter structure * fix(ci): reformat test_project_status.py string literals --------- Co-authored-by: opencode-agent <agent@opencode.local>
10 lines
No EOL
332 B
TypeScript
10 lines
No EOL
332 B
TypeScript
import { expect, test } from '@playwright/test';
|
|
import AxeBuilder from '@axe-core/playwright';
|
|
|
|
test('dashboard has no a11y violations', async ({ page }) => {
|
|
await page.goto('/');
|
|
const results = await new AxeBuilder({ page })
|
|
.disableRules(['color-contrast'])
|
|
.analyze();
|
|
expect(results.violations).toEqual([]);
|
|
}); |