Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Desktop view: Add user registration and password reset to the login s…
…creen. Co-authored-by: Tobias Schäfer <ts@zammad.com> Co-authored-by: Dusan Vuckovic <dv@zammad.com> Co-authored-by: Vladimir Sheremet <vs@zammad.com> Co-authored-by: Dominik Klein <dk@zammad.com>
- Loading branch information
1 parent
abdf4a7
commit 015a19a
Showing
175 changed files
with
4,494 additions
and
502 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
app/frontend/apps/desktop/pages/login/__tests__/admin-password-auth-a11y.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// Copyright (C) 2012-2023 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' | ||
import '#tests/graphql/builders/mocks.ts' | ||
|
||
describe('testing admin password request a11y', () => { | ||
beforeEach(() => { | ||
mockApplicationConfig({ | ||
user_show_password_login: false, | ||
auth_github: true, | ||
}) | ||
}) | ||
|
||
it('has no accessibility violations', async () => { | ||
const view = await visitView('/admin-password-auth') | ||
const results = await axe(view.html()) | ||
expect(results).toHaveNoViolations() | ||
}) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.