Initial testing framework

This commit is contained in:
adilallo committed 2025-08-28 21:17:27 -06:00
1 parent f9ff2d0c08
commit 165f7f8179
15 files changed
+9400 -60

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
import { injectAxe, checkA11y } from '@axe-core/playwright';
export async function runA11y(page, options = {}) {
await injectAxe(page);
await checkA11y(page, undefined, { detailedReport: true, detailedReportOptions: { html: true }, ...options });
}