]> git.proxmox.com Git - ceph.git/blob - ceph/src/pybind/mgr/dashboard/frontend/cypress/e2e/a11y/navigation.e2e-spec.ts
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / cypress / e2e / a11y / navigation.e2e-spec.ts
1 import { NavigationPageHelper } from '../ui/navigation.po';
2
3 describe('Navigation accessibility', { retries: 0 }, () => {
4 const shared = new NavigationPageHelper();
5
6 beforeEach(() => {
7 cy.login();
8 shared.navigateTo();
9 });
10
11 it('top-nav should have no accessibility violations', () => {
12 cy.injectAxe();
13 cy.checkAccessibility('.cd-navbar-top');
14 });
15
16 it('sidebar should have no accessibility violations', () => {
17 cy.injectAxe();
18 cy.checkAccessibility('nav[id=sidebar]');
19 });
20 });