mirror of
https://github.com/logseq/logseq.git
synced 2026-05-28 06:34:34 +00:00
13 lines
359 B
TypeScript
13 lines
359 B
TypeScript
import { injectAxe, checkA11y, getViolations, reportViolations } from 'axe-playwright'
|
|
import { test } from './fixtures'
|
|
import { createRandomPage } from './utils'
|
|
|
|
|
|
test('check a11y for the whole page', async ({ page }) => {
|
|
await injectAxe(page)
|
|
await createRandomPage(page)
|
|
await checkA11y(page, null, {
|
|
detailedReport: true,
|
|
})
|
|
})
|