Skip to content
Snippets Groups Projects
Commit ea743dca authored by Cord Westhoff's avatar Cord Westhoff
Browse files

Fix E2E impressum

parent a1ffb4ae
Branches
Tags
2 merge requests!44E2E updates,!41Ozg 7472 administration oe zu benutzer hinzufuegen
...@@ -51,10 +51,9 @@ describe('Help Menu', () => { ...@@ -51,10 +51,9 @@ describe('Help Menu', () => {
exist(helpMenu.getOpenDocumentationButton()); exist(helpMenu.getOpenDocumentationButton());
}); });
it('should show Impressum button', () => { it('should show Impressum button and find link', () => {
helpMenu.getRoot().click();
exist(helpMenu.getImpressumButton()); exist(helpMenu.getImpressumButton());
helpMenu.getImpressumButton().find('a').should('have.attr', 'href').and('contain', 'impressum');
}); });
it('should open documentation', () => { it('should open documentation', () => {
...@@ -66,10 +65,5 @@ describe('Help Menu', () => { ...@@ -66,10 +65,5 @@ describe('Help Menu', () => {
.url() .url()
.should('include', 'benutzerleitfaden'); .should('include', 'benutzerleitfaden');
}); });
it('should contain Impressum link text', () => {
helpMenu.getRoot().click();
helpMenu.getImpressumButton().find('a').should('have.attr', 'href').and('contain', 'impressum');
});
}); });
}); });
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment