diff --git a/alfa-client/apps/alfa-e2e/src/e2e/main-tests/user-assistance/help-menu.cy.ts b/alfa-client/apps/alfa-e2e/src/e2e/main-tests/user-assistance/help-menu.cy.ts index f5339303dd44a7842ba56156999b4e6a9ba55817..7cfa978557c35ec06c5806cd9c161daa57b31fd1 100644 --- a/alfa-client/apps/alfa-e2e/src/e2e/main-tests/user-assistance/help-menu.cy.ts +++ b/alfa-client/apps/alfa-e2e/src/e2e/main-tests/user-assistance/help-menu.cy.ts @@ -51,10 +51,9 @@ describe('Help Menu', () => { exist(helpMenu.getOpenDocumentationButton()); }); - it('should show Impressum button', () => { - helpMenu.getRoot().click(); - + it('should show Impressum button and find link', () => { exist(helpMenu.getImpressumButton()); + helpMenu.getImpressumButton().find('a').should('have.attr', 'href').and('contain', 'impressum'); }); it('should open documentation', () => { @@ -66,10 +65,5 @@ describe('Help Menu', () => { .url() .should('include', 'benutzerleitfaden'); }); - - it('should contain Impressum link text', () => { - helpMenu.getRoot().click(); - helpMenu.getImpressumButton().find('a').should('have.attr', 'href').and('contain', 'impressum'); - }); }); });