mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
[server-pro] tests: make project invite tests more reliable (#23732)
* [web] wait for sending project invite notification, send email detached Errors from sending the notification or email are still logged only. Wait up-to ~one second for notification to be sent (API timeout is 1s). * [server-pro] tests: wait for invite action to complete GitOrigin-RevId: e6998e6134b5267c91b47785d616a46e9651b996
This commit is contained in:
@@ -102,6 +102,7 @@ describe('Project creation and compilation', function () {
|
||||
cy.findByRole('dialog').within(() => {
|
||||
cy.get('input').type('collaborator@example.com,')
|
||||
cy.findByText('Invite').click({ force: true })
|
||||
cy.findByText('Invite not yet accepted.')
|
||||
})
|
||||
|
||||
cy.visit('/project')
|
||||
|
||||
Reference in New Issue
Block a user