check visibility of email list in e2e email test step

This commit is contained in:
mahula 2023-06-27 09:59:09 +02:00
parent ba98797009
commit 8553bf59fd

View File

@ -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')