From f8e4d416ec5ae2b98127cf3fda37fa22106a3c06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tam=C3=A1s=20Nagy?= Date: Sun, 12 Apr 2026 01:30:14 +0200 Subject: [PATCH] #EX-389: Update forgot password email sent information Since backend does not return error when sending request with an email that does not exists in the database we should inform the user about the email might not be sent to the correct email address. --- .../e2e/forgot-password/tests/forgot-password.spec.ts | 7 ------- frontend/Exence/src/assets/i18n/de.json | 4 ++-- frontend/Exence/src/assets/i18n/en.json | 4 ++-- frontend/Exence/src/assets/i18n/es.json | 4 ++-- frontend/Exence/src/assets/i18n/fr.json | 4 ++-- frontend/Exence/src/assets/i18n/hu.json | 4 ++-- frontend/Exence/src/assets/i18n/it.json | 4 ++-- frontend/Exence/src/assets/i18n/pl.json | 4 ++-- frontend/Exence/src/assets/i18n/sk.json | 4 ++-- 9 files changed, 16 insertions(+), 23 deletions(-) diff --git a/frontend/Exence/e2e/forgot-password/tests/forgot-password.spec.ts b/frontend/Exence/e2e/forgot-password/tests/forgot-password.spec.ts index 6c768980..cb0e4d26 100644 --- a/frontend/Exence/e2e/forgot-password/tests/forgot-password.spec.ts +++ b/frontend/Exence/e2e/forgot-password/tests/forgot-password.spec.ts @@ -48,13 +48,6 @@ test.describe('Forgot Password', () => { await expect(getEmailField(page)).toHaveValue(''); }); - test('should show error snackbar for non-existing email', async ({ page }) => { - await fillAndBlur(getEmailField(page), data['incorrect'].nonExistingEmail); - await expect(getSendEmailBtn(page)).not.toBeDisabled(); - await getSendEmailBtn(page).click(); - await expect(getErrorSnackbar(page)).toBeVisible(); - }); - test('should handle full forgot password flow', async ({ page }) => { // Send email to existing user await fillAndBlur(getEmailField(page), data['valid'].email); diff --git a/frontend/Exence/src/assets/i18n/de.json b/frontend/Exence/src/assets/i18n/de.json index 1ca68eef..6f5abf50 100644 --- a/frontend/Exence/src/assets/i18n/de.json +++ b/frontend/Exence/src/assets/i18n/de.json @@ -471,8 +471,8 @@ "login": "Anmeldung", "resetSuccess": "Passwort erfolgreich aktualisiert!", "emailSent": { - "title": "E-Mail gesendet", - "subtitle": "Wir haben Ihnen eine E-Mail an {{email}} gesendet. Prüfen Sie Ihren Posteingang und folgen Sie den Anweisungen, um Ihr Kontopasswort zurückzusetzen.", + "title": "Überprüfen Sie Ihre E-Mail", + "subtitle": "Wenn Ihre E-Mail-Adresse in unserem System registriert ist, haben wir Ihnen einen Link zum Zurücksetzen des Passworts gesendet. Bitte prüfen Sie auch Ihren Spam-Ordner.", "notRecieved": "Sie haben die E-Mail nicht erhalten?", "retry": "E-Mail erneut senden", "badEmail": "Falsche E-Mail Adresse?", diff --git a/frontend/Exence/src/assets/i18n/en.json b/frontend/Exence/src/assets/i18n/en.json index c39ee2fe..2844f071 100644 --- a/frontend/Exence/src/assets/i18n/en.json +++ b/frontend/Exence/src/assets/i18n/en.json @@ -471,8 +471,8 @@ "login": "Login", "resetSuccess": "Password successfully updated!", "emailSent": { - "title": "Email sent", - "subtitle": "We have sent you an email at {{email}}. Check your inbox and follow the instructions to reset your account password.", + "title": "Check your email", + "subtitle": "If your email address is registered in our system, we have sent you a password reset link. Please also check your spam folder.", "notRecieved": "Did not recieve the email?", "retry": "Resend email", "badEmail": "Wrong email address?", diff --git a/frontend/Exence/src/assets/i18n/es.json b/frontend/Exence/src/assets/i18n/es.json index 7651f266..668a1c8a 100644 --- a/frontend/Exence/src/assets/i18n/es.json +++ b/frontend/Exence/src/assets/i18n/es.json @@ -471,8 +471,8 @@ "login": "Iniciar sesión", "resetSuccess": "¡Contraseña actualizada con éxito!", "emailSent": { - "title": "Correo electrónico enviado", - "subtitle": "Le hemos enviado un correo electrónico a {{email}}. Revise su bandeja de entrada y siga las instrucciones para restablecer la contraseña de su cuenta.", + "title": "Compruebe su correo electrónico", + "subtitle": "Si su dirección de correo electrónico está registrada en nuestro sistema, le hemos enviado un enlace para restablecer la contraseña. Compruebe también su carpeta de spam.", "notRecieved": "¿No ha recibido el correo electrónico?", "retry": "Reenviar correo electrónico", "badEmail": "¿Dirección de correo electrónico incorrecta?", diff --git a/frontend/Exence/src/assets/i18n/fr.json b/frontend/Exence/src/assets/i18n/fr.json index 8b8f5c32..8d21430d 100644 --- a/frontend/Exence/src/assets/i18n/fr.json +++ b/frontend/Exence/src/assets/i18n/fr.json @@ -471,8 +471,8 @@ "login": "Connexion", "resetSuccess": "Mot de passe mis à jour avec succès !", "emailSent": { - "title": "E-mail envoyé", - "subtitle": "Nous vous avons envoyé un e-mail à {{email}}. Vérifiez votre boîte de réception et suivez les instructions pour réinitialiser le mot de passe de votre compte.", + "title": "Vérifiez votre e-mail", + "subtitle": "Si votre adresse e-mail est enregistrée dans notre système, nous vous avons envoyé un lien de réinitialisation du mot de passe. Veuillez également vérifier votre dossier spam.", "notRecieved": "Vous n'avez pas reçu l'e-mail ?", "retry": "Renvoyer l'e-mail", "badEmail": "Mauvaise adresse e-mail ?", diff --git a/frontend/Exence/src/assets/i18n/hu.json b/frontend/Exence/src/assets/i18n/hu.json index fbdc62d4..9150bf25 100644 --- a/frontend/Exence/src/assets/i18n/hu.json +++ b/frontend/Exence/src/assets/i18n/hu.json @@ -471,8 +471,8 @@ "login": "Bejelentkezés", "resetSuccess": "Jelszó sikeresen frissítve!", "emailSent": { - "title": "Elküldött e-mail", - "subtitle": "Küldtünk Önnek egy e-mailt a {{email}}1XTOKENX címre. Ellenőrizze postaládáját, és kövesse az utasításokat a fiókjelszó visszaállításához.", + "title": "Ellenőrizze e-mailjét", + "subtitle": "Ha az e-mail cím szerepel a rendszerünkben, elküldtük a jelszó-visszaállítási linket. Kérjük, ellenőrizze a spam/levélszemét mappáját is.", "notRecieved": "Nem kapta meg az e-mailt?", "retry": "E-mail újraküldése", "badEmail": "Rossz e-mail cím?", diff --git a/frontend/Exence/src/assets/i18n/it.json b/frontend/Exence/src/assets/i18n/it.json index a9de481f..e81eba11 100644 --- a/frontend/Exence/src/assets/i18n/it.json +++ b/frontend/Exence/src/assets/i18n/it.json @@ -471,8 +471,8 @@ "login": "Accedi", "resetSuccess": "Password aggiornata con successo!", "emailSent": { - "title": "E-mail inviata", - "subtitle": "Le abbiamo inviato un'e-mail all'indirizzo {{email}}. Controlli la Sua casella di posta e segua le istruzioni per reimpostare la password del Suo account.", + "title": "Controlla la tua e-mail", + "subtitle": "Se il Suo indirizzo e-mail è registrato nel nostro sistema, Le abbiamo inviato un link per reimpostare la password. Controlli anche la cartella spam.", "notRecieved": "Non ha ricevuto l'e-mail?", "retry": "Invia nuovamente l'e-mail", "badEmail": "Indirizzo e-mail errato?", diff --git a/frontend/Exence/src/assets/i18n/pl.json b/frontend/Exence/src/assets/i18n/pl.json index 669a9314..6c82c468 100644 --- a/frontend/Exence/src/assets/i18n/pl.json +++ b/frontend/Exence/src/assets/i18n/pl.json @@ -471,8 +471,8 @@ "login": "Zaloguj się", "resetSuccess": "Hasło zostało pomyślnie zaktualizowane!", "emailSent": { - "title": "E-mail wysłany", - "subtitle": "Wysłaliśmy Państwu wiadomość e-mail na adres {{email}}. Proszę sprawdzić skrzynkę odbiorczą i postępować zgodnie z instrukcjami, aby zresetować hasło konta.", + "title": "Sprawdź swoją pocztę e-mail", + "subtitle": "Jeśli Państwa adres e-mail jest zarejestrowany w naszym systemie, wysłaliśmy Państwu link do zresetowania hasła. Prosimy sprawdzić również folder spam.", "notRecieved": "Nie otrzymali Państwo wiadomości e-mail?", "retry": "Wyślij ponownie e-mail", "badEmail": "Błędny adres e-mail?", diff --git a/frontend/Exence/src/assets/i18n/sk.json b/frontend/Exence/src/assets/i18n/sk.json index cb47de30..833dc6df 100644 --- a/frontend/Exence/src/assets/i18n/sk.json +++ b/frontend/Exence/src/assets/i18n/sk.json @@ -471,8 +471,8 @@ "login": "Prihlásiť sa", "resetSuccess": "Heslo bolo úspešne aktualizované!", "emailSent": { - "title": "E-mail odoslaný", - "subtitle": "Poslali sme Vám e-mail na adresu {{email}}. Skontrolujte svoju schránku a postupujte podľa pokynov na obnovenie hesla Vášho účtu.", + "title": "Skontrolujte svoju e-mailovú schránku", + "subtitle": "Ak je Vaša e-mailová adresa registrovaná v našom systéme, poslali sme Vám odkaz na obnovenie hesla. Skontrolujte tiež priečinok spam.", "notRecieved": "Nedostali ste e-mail?", "retry": "Znovu odoslať e-mail", "badEmail": "Nesprávna e-mailová adresa?",