mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 14:43:46 +01:00
Merge pull request #26809 from overleaf/rh-email-already-registered
Update 'email already registered' text GitOrigin-RevId: aa8b7d0f83549f22a721f6e41a4a6cd51e287251
This commit is contained in:
+5
-2
@@ -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 () {
|
||||
|
||||
Reference in New Issue
Block a user