Skip to content
Snippets Groups Projects
Commit 6d574580 authored by Albert Bruns's avatar Albert Bruns
Browse files

OZG-7619 e2e tests datenbeauftragung

parent 1551c927
Branches
Tags
1 merge request!84Ozg 7619 e2 e and text adjustment
......@@ -147,8 +147,8 @@ export class BenutzerE2EComponent {
return new BenutzerCheckboxE2EComponent(this.postCheckboxLabel);
}
public getDatenbeauftragungCheckbox(): Cypress.Chainable<Element> {
return cy.getTestElement(this.datenbeauftragungLabel);
public getDatenbeauftragungCheckbox(): BenutzerCheckboxE2EComponent {
return new BenutzerCheckboxE2EComponent(this.datenbeauftragungLabel);
}
public getOrganisationsEinheitCheckbox(einheit: string): Cypress.Chainable<Element> {
......
......@@ -170,5 +170,11 @@ describe('Benutzer und Rollen', () => {
visible(benutzerPage.getPostCheckbox().getInfoButtonTooltip());
});
it('should be visible on datenbeauftragung role mouse hover', () => {
mouseEnter(benutzerPage.getDatenbeauftragungCheckbox().getInfoButton());
visible(benutzerPage.getPostCheckbox().getInfoButtonTooltip());
});
});
});
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment