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 8553bf59fd
commit eb99a32433

View File

@ -57,7 +57,8 @@ Then('the user receives no password reset e-mail', () => {
{ args: { userEMailSite } },
({ userEMailSite }) => {
cy.visit('/')
cy.get(userEMailSite.emailList).should('be.visible')
cy.wait(300)
cy.get(userEMailSite.emailInbox).should('be.visible')
cy.get(userEMailSite.emailList)
.find('.email-item')