From 8553bf59fda699587bbb583be8a189dc35d43e77 Mon Sep 17 00:00:00 2001 From: mahula Date: Tue, 27 Jun 2023 09:59:09 +0200 Subject: [PATCH] check visibility of email list in e2e email test step --- e2e-tests/cypress/support/step_definitions/email_steps.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/e2e-tests/cypress/support/step_definitions/email_steps.ts b/e2e-tests/cypress/support/step_definitions/email_steps.ts index fdf273def..27c389ab8 100644 --- a/e2e-tests/cypress/support/step_definitions/email_steps.ts +++ b/e2e-tests/cypress/support/step_definitions/email_steps.ts @@ -51,13 +51,13 @@ Then('the user receives an e-mail containing the {string} link', (linkName: stri ) }) -Then('the user receives no password reset e-mail', () { +Then('the user receives no password reset e-mail', () => { cy.origin( Cypress.env('mailserverURL'), { args: { userEMailSite } }, ({ userEMailSite }) => { cy.visit('/') - cy.get(userEMailSite.emailInbox).should('be.visible') + cy.get(userEMailSite.emailList).should('be.visible') cy.get(userEMailSite.emailList) .find('.email-item')