Skip to content
Snippets Groups Projects
Commit 88cc3e91 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-4310 OZG-7097 activate final tests

parent c73c9964
Branches
Tags
No related merge requests found
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...', () => {});
});
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment