Files
twitter-lite/e2e/a11y/homePage.test.ts
T
2026-07-26 13:55:56 +09:00

13 lines
295 B
TypeScript

import { expect, test } from '../fixtures'
test('home page has no accessibility violations', async ({
a11y,
homePage,
}) => {
await homePage.goTo()
await expect(homePage.articlesLocator).toHaveCount(0)
const result = await a11y().analyze()
expect(result.violations).toEqual([])
})