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

OZG-7591 fix e2e component

parent deb94b59
No related branches found
No related tags found
1 merge request!92Administration: Validierung der Pflichtfelder bei "Benutzer & Rollen"
export class TextEditorE2eComponent { export class TextEditorE2eComponent {
private readonly root: string; private readonly root: string;
private readonly input: string;
private readonly validationError: string; private readonly validationError: string;
constructor(root: string) { constructor(root: string) {
this.root = `${root}-text-editor`; this.root = `${root}-text-editor`;
this.input = `${root}-text-input`;
this.validationError = `${root}-text-editor-error`; this.validationError = `${root}-text-editor-error`;
} }
public getInput(): Cypress.Chainable<Element> { public getInput(): Cypress.Chainable<Element> {
return cy.getTestElement(this.root); return cy.getTestElement(this.input);
} }
public getErrorMessage(): Cypress.Chainable<Element> { public getErrorMessage(): Cypress.Chainable<Element> {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment