[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:
Jakob Ackermann
2025-02-20 15:02:59 +00:00
committed by Copybot
parent 2e72aa8a47
commit 0be79e846c
4 changed files with 35 additions and 27 deletions

View File

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