Update navigation e2e tests (#77654)

update navigation e2e tests
This commit is contained in:
Ashley Harrison
2023-11-03 20:15:53 +00:00
committed by GitHub
parent d68d31c63c
commit ffcaef9c17

View File

@@ -15,7 +15,7 @@ describe('Docked Navigation', () => {
it('should remain docked when reloading the page', () => {
// Expand, then dock the mega menu
cy.get('[aria-label="Toggle menu"]').click();
cy.get('[aria-label="Open menu"]').click();
cy.get('[aria-label="Dock menu"]').click();
e2e.components.NavMenu.Menu().should('be.visible');
@@ -26,7 +26,7 @@ describe('Docked Navigation', () => {
it('should remain docked when navigating to another page', () => {
// Expand, then dock the mega menu
cy.get('[aria-label="Toggle menu"]').click();
cy.get('[aria-label="Open menu"]').click();
cy.get('[aria-label="Dock menu"]').click();
cy.contains('a', 'Administration').click();