diff --git a/alfa-client/apps/admin-e2e/src/e2e/benutzer_rollen/benutzer_rollen.cy.ts b/alfa-client/apps/admin-e2e/src/e2e/benutzer_rollen/benutzer_rollen.cy.ts index 26fb266e19f4b2050af97e6d180f50b51c91790f..df8ad2a80810e40567c1788ce9d2af63ed96e912 100644 --- a/alfa-client/apps/admin-e2e/src/e2e/benutzer_rollen/benutzer_rollen.cy.ts +++ b/alfa-client/apps/admin-e2e/src/e2e/benutzer_rollen/benutzer_rollen.cy.ts @@ -1,6 +1,6 @@ import { BenutzerE2EComponent } from '../../components/benutzer/benutzer.e2e.component'; import { MainPage } from '../../page-objects/main.po'; -import { beChecked, beEnabled, exist, notBeChecked } from '../../support/cypress.util'; +import { beChecked, beEnabled, exist, notBeChecked, notBeEnabled } from '../../support/cypress.util'; import { loginAsAriane } from '../../support/user-util'; const mainPage: MainPage = new MainPage(); @@ -52,13 +52,11 @@ describe('Benutzer und Rollen', () => { notBeChecked(benutzerPage.getPostCheckbox()); }); - it.skip('should do something on OE button click, but not now...', () => {}); - it('should activate loeschen checkbox and deactivate the other two checkboxes', () => { benutzerPage.clickLoeschenCheckbox(); beChecked(benutzerPage.getLoeschenCheckbox()); - //notBeEnabled(benutzerPage.getUserCheckbox()); - //notBeEnabled(benutzerPage.getPostCheckbox()); + notBeEnabled(benutzerPage.getUserCheckbox()); + notBeEnabled(benutzerPage.getPostCheckbox()); benutzerPage.clickLoeschenCheckbox(); notBeChecked(benutzerPage.getLoeschenCheckbox()); @@ -80,8 +78,8 @@ describe('Benutzer und Rollen', () => { benutzerPage.clickLoeschenCheckbox(); benutzerPage.clickUserCheckbox(); beChecked(benutzerPage.getUserCheckbox()); - //notBeEnabled(benutzerPage.getLoeschenCheckbox()); - //notBeEnabled(benutzerPage.getPostCheckbox()); + notBeEnabled(benutzerPage.getLoeschenCheckbox()); + notBeEnabled(benutzerPage.getPostCheckbox()); benutzerPage.clickUserCheckbox(); notBeChecked(benutzerPage.getUserCheckbox()); @@ -92,14 +90,12 @@ describe('Benutzer und Rollen', () => { it('should activate post checkbox and deactivate the other two checkboxes', () => { benutzerPage.clickPostCheckbox(); beChecked(benutzerPage.getPostCheckbox()); - //notBeEnabled(benutzerPage.getLoeschenCheckbox()); - //notBeEnabled(benutzerPage.getUserCheckbox()); + notBeEnabled(benutzerPage.getLoeschenCheckbox()); + notBeEnabled(benutzerPage.getUserCheckbox()); benutzerPage.clickPostCheckbox(); notBeChecked(benutzerPage.getPostCheckbox()); beEnabled(benutzerPage.getLoeschenCheckbox()); beEnabled(benutzerPage.getUserCheckbox()); }); - - it.skip('should do something on save button click, but also not now...', () => {}); });