diff --git a/alfa-client/apps/alfa-e2e/src/page-objects/postfach-mail.component.po.ts b/alfa-client/apps/alfa-e2e/src/page-objects/postfach-mail.component.po.ts index 8d072a9c8dc43fe7ff5a8a8263e1bdb32ced7e03..bdc5117cb20b887bf36518c3d69e953658dab84a 100644 --- a/alfa-client/apps/alfa-e2e/src/page-objects/postfach-mail.component.po.ts +++ b/alfa-client/apps/alfa-e2e/src/page-objects/postfach-mail.component.po.ts @@ -29,6 +29,7 @@ export class PostfachMailPage { private readonly breadcrump: string = 'postfach-breadcrump'; private readonly root: string = 'postfach-mail-list'; private readonly downloadButton: string = 'postfach-pdf-export-button'; + private readonly mailText: string = 'postfach-outgoing-nachricht'; private readonly subnavigation: PostfachMailSubnavigation = new PostfachMailSubnavigation(); @@ -51,4 +52,8 @@ export class PostfachMailPage { getDownloadButton() { return cy.getTestElement(this.downloadButton); } + + getMailText() { + return cy.getTestElement(this.mailText); + } }