1 import { NavigationPageHelper } from './navigation.po';
3 describe('Shared pages', () => {
4 const shared = new NavigationPageHelper();
8 Cypress.Cookies.preserveOnce('token');
12 it('should display the vertical menu by default', () => {
13 shared.getVerticalMenu().should('be.visible');
16 it('should hide the vertical menu', () => {
17 shared.getMenuToggler().click();
18 shared.getVerticalMenu().should('not.be.visible');
21 it('should navigate to the correct page', () => {
22 shared.checkNavigations(shared.navigations);