12345678910111213141516171819 |
- // Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
- import { axe } from 'vitest-axe'
- import { mockApplicationConfig } from '#tests/support/mock-applicationConfig.ts'
- import { visitView } from '#tests/support/components/visitView.ts'
- describe('testing signup verify a11y', () => {
- beforeEach(() => {
- mockApplicationConfig({
- user_create_account: true,
- })
- })
- it('has no accessibility violations', async () => {
- const view = await visitView('/signup/verify')
- const results = await axe(view.html())
- expect(results).toHaveNoViolations()
- })
- })
|