mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 09:56:05 +00:00
check visibility of email list in e2e email test step
This commit is contained in:
parent
ba98797009
commit
8553bf59fd
@ -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(
|
cy.origin(
|
||||||
Cypress.env('mailserverURL'),
|
Cypress.env('mailserverURL'),
|
||||||
{ args: { userEMailSite } },
|
{ args: { userEMailSite } },
|
||||||
({ userEMailSite }) => {
|
({ userEMailSite }) => {
|
||||||
cy.visit('/')
|
cy.visit('/')
|
||||||
cy.get(userEMailSite.emailInbox).should('be.visible')
|
cy.get(userEMailSite.emailList).should('be.visible')
|
||||||
|
|
||||||
cy.get(userEMailSite.emailList)
|
cy.get(userEMailSite.emailList)
|
||||||
.find('.email-item')
|
.find('.email-item')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user