Skip to content
Snippets Groups Projects
Verified Commit 55e95208 authored by Sebastian Bergandy's avatar Sebastian Bergandy :keyboard:
Browse files

OZG-7591 rename e2e component

parent 0be832bb
No related branches found
No related tags found
1 merge request!92Administration: Validierung der Pflichtfelder bei "Benutzer & Rollen"
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
*/ */
import 'cypress-real-events'; import 'cypress-real-events';
import { convertToDataTestId } from '../../support/tech-util'; import { convertToDataTestId } from '../../support/tech-util';
import { TextEditorE2eComponent } from '../ods/text-editor.e2e.component'; import { TextEditorE2EComponent } from '../ods/text-editor-e2-e.component';
//TODO BenutzerListPage erstellen welche den Button und die Liste enthaelt. //TODO BenutzerListPage erstellen welche den Button und die Liste enthaelt.
export class BenutzerListE2EComponent { export class BenutzerListE2EComponent {
...@@ -109,10 +109,10 @@ export class BenutzerE2EComponent { ...@@ -109,10 +109,10 @@ export class BenutzerE2EComponent {
private readonly rollenValidationError: string = 'rollen-error'; private readonly rollenValidationError: string = 'rollen-error';
private readonly vornameTextFeld: TextEditorE2eComponent = new TextEditorE2eComponent('firstName'); private readonly vornameTextFeld: TextEditorE2EComponent = new TextEditorE2EComponent('firstName');
private readonly nachnameTextFeld: TextEditorE2eComponent = new TextEditorE2eComponent('lastName'); private readonly nachnameTextFeld: TextEditorE2EComponent = new TextEditorE2EComponent('lastName');
private readonly benutzernameTextFeld: TextEditorE2eComponent = new TextEditorE2eComponent('username'); private readonly benutzernameTextFeld: TextEditorE2EComponent = new TextEditorE2EComponent('username');
private readonly emailTextFeld: TextEditorE2eComponent = new TextEditorE2eComponent('email'); private readonly emailTextFeld: TextEditorE2EComponent = new TextEditorE2EComponent('email');
public getHeadline(): Cypress.Chainable<Element> { public getHeadline(): Cypress.Chainable<Element> {
return cy.getTestElement(this.headline); return cy.getTestElement(this.headline);
...@@ -170,19 +170,19 @@ export class BenutzerE2EComponent { ...@@ -170,19 +170,19 @@ export class BenutzerE2EComponent {
return cy.getTestElement(this.deleteButton); return cy.getTestElement(this.deleteButton);
} }
public getVornameTextFeld(): TextEditorE2eComponent { public getVornameTextFeld(): TextEditorE2EComponent {
return this.vornameTextFeld; return this.vornameTextFeld;
} }
public getNachnameTextFeld(): TextEditorE2eComponent { public getNachnameTextFeld(): TextEditorE2EComponent {
return this.nachnameTextFeld; return this.nachnameTextFeld;
} }
public getBenutzernameTextFeld(): TextEditorE2eComponent { public getBenutzernameTextFeld(): TextEditorE2EComponent {
return this.benutzernameTextFeld; return this.benutzernameTextFeld;
} }
public getEmailTextFeld(): TextEditorE2eComponent { public getEmailTextFeld(): TextEditorE2EComponent {
return this.emailTextFeld; return this.emailTextFeld;
} }
......
export class TextEditorE2eComponent { export class TextEditorE2EComponent {
private readonly root: string; private readonly root: string;
private readonly input: string; private readonly input: string;
private readonly validationError: string; private readonly validationError: string;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment