]> git.proxmox.com Git - ceph.git/blame_incremental - ceph/src/pybind/mgr/dashboard/frontend/cypress/e2e/ui/navigation.e2e-spec.ts
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / cypress / e2e / ui / navigation.e2e-spec.ts
... / ...
CommitLineData
1import { NavigationPageHelper } from './navigation.po';
2
3describe('Shared pages', () => {
4 const shared = new NavigationPageHelper();
5
6 beforeEach(() => {
7 cy.login();
8 shared.navigateTo();
9 });
10
11 it('should display the vertical menu by default', () => {
12 shared.getVerticalMenu().should('not.have.class', 'active');
13 });
14
15 it('should hide the vertical menu', () => {
16 shared.getMenuToggler().click();
17 shared.getVerticalMenu().should('have.class', 'active');
18 });
19
20 it('should navigate to the correct page', () => {
21 shared.checkNavigations(shared.navigations);
22 });
23});