Merge pull request #31214 from overleaf/ii-domain-capture-error-when-email-not-on-account

[web] Error message change when email not on account

GitOrigin-RevId: 25cd57819fc82818189d9c1b5bd2924250af729a
This commit is contained in:
ilkin-overleaf
2026-02-04 09:06:09 +00:00
committed by Copybot
parent 28a7aa5e19
commit c516ffd476
3 changed files with 7 additions and 5 deletions
@@ -125,9 +125,10 @@ describe('<DomainCapture />', function () {
cy.findByRole('alert').should(
'contain.text',
`Your organization’s identity provider returned ${institutionEmail}. ` +
`You will need to use this address to create an account via SSO. You can ` +
`transfer your existing projects to the new account.`
`Your email address ${this.email} was not recognized. ` +
`Your organization’s identity provider returned ${institutionEmail}. ` +
`You will need to log out of ${this.email} and use ${institutionEmail} to create an account via SSO. ` +
`You can transfer your existing projects to the new account.`
)
cy.findByRole('link', {
name: /transfer your existing projects/i,