From 24028756df756275660d1f1b74adc3db6a1e7cf0 Mon Sep 17 00:00:00 2001 From: sebo <sebastian.bergandy@external.mgm-cp.com> Date: Thu, 13 Mar 2025 20:50:08 +0100 Subject: [PATCH] OZG-7591 fix e2e component --- .../admin-e2e/src/components/ods/text-editor.e2e.component.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/alfa-client/apps/admin-e2e/src/components/ods/text-editor.e2e.component.ts b/alfa-client/apps/admin-e2e/src/components/ods/text-editor.e2e.component.ts index d3fede9efe..c7ba7ea9c1 100644 --- a/alfa-client/apps/admin-e2e/src/components/ods/text-editor.e2e.component.ts +++ b/alfa-client/apps/admin-e2e/src/components/ods/text-editor.e2e.component.ts @@ -1,14 +1,16 @@ export class TextEditorE2eComponent { private readonly root: string; + private readonly input: string; private readonly validationError: string; constructor(root: string) { this.root = `${root}-text-editor`; + this.input = `${root}-text-input`; this.validationError = `${root}-text-editor-error`; } public getInput(): Cypress.Chainable<Element> { - return cy.getTestElement(this.root); + return cy.getTestElement(this.input); } public getErrorMessage(): Cypress.Chainable<Element> { -- GitLab