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 d3fede9efe9d2226fee2edf040771f17c97fcb3a..c7ba7ea9c19750ee1cb7f9c8a6ca753d0284ed4e 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> {