mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
set timeout instead of wait in email step definition
This commit is contained in:
parent
10c7e8e2de
commit
567961947c
@ -39,8 +39,7 @@ Then('the user receives an e-mail containing the {string} link', (linkName: stri
|
||||
.find(userEMailSite.emailSubject)
|
||||
.contains(emailSubject)
|
||||
|
||||
cy.get('.email-content')
|
||||
.wait(2000)
|
||||
cy.get('.email-content', { timeout: 2000})
|
||||
.find('.plain-text')
|
||||
.contains(linkPattern)
|
||||
.invoke('text')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user