Merge pull request #26809 from overleaf/rh-email-already-registered

Update 'email already registered' text

GitOrigin-RevId: aa8b7d0f83549f22a721f6e41a4a6cd51e287251
This commit is contained in:
roo hutton
2025-07-07 08:05:19 +00:00
committed by Copybot
parent 425344b40b
commit a7e3ce67ea
3 changed files with 9 additions and 4 deletions
@@ -129,7 +129,8 @@ describe('<AccountInfoSection />', function () {
fetchMock.post('/user/settings', {
status: 409,
body: {
message: 'This email is already registered',
message:
'This email address is already associated with a different Overleaf account.',
},
})
renderSectionWithUserProvider()
@@ -139,7 +140,9 @@ describe('<AccountInfoSection />', function () {
name: /update/i,
})
)
await screen.findByText('This email is already registered')
await screen.findByText(
'This email address is already associated with a different Overleaf account.'
)
})
it('hides email input', async function () {