Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,6 @@
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);
Expand All @@ -62,7 +55,7 @@
await getSendEmailBtn(page).click();

// Check snackbar first (transient) then persistent UI
await expect(getSuccessSnackbar(page)).toBeVisible();

Check failure on line 58 in frontend/Exence/e2e/forgot-password/tests/forgot-password.spec.ts

View workflow job for this annotation

GitHub Actions / test-and-build

[chromium] › e2e/forgot-password/tests/forgot-password.spec.ts:51:6 › Forgot Password › should handle full forgot password flow

1) [chromium] › e2e/forgot-password/tests/forgot-password.spec.ts:51:6 › Forgot Password › should handle full forgot password flow Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toBeVisible() failed Locator: getByTestId('snackbar').last().locator('mat-icon.type-icon').filter({ hasText: 'check' }).last() Expected: visible Timeout: 5000ms Error: element(s) not found Call log: - Expect "toBeVisible" with timeout 5000ms - waiting for getByTestId('snackbar').last().locator('mat-icon.type-icon').filter({ hasText: 'check' }).last() 56 | 57 | // Check snackbar first (transient) then persistent UI > 58 | await expect(getSuccessSnackbar(page)).toBeVisible(); | ^ 59 | await expect(getEmailSentTitle(page)).toBeVisible(); 60 | await expect(getResendEmailBtn(page)).toBeVisible(); 61 | await expect(getChangeEmailBtn(page)).toBeVisible(); at /home/runner/work/Exence/Exence/frontend/Exence/e2e/forgot-password/tests/forgot-password.spec.ts:58:42

Check failure on line 58 in frontend/Exence/e2e/forgot-password/tests/forgot-password.spec.ts

View workflow job for this annotation

GitHub Actions / test-and-build

[chromium] › e2e/forgot-password/tests/forgot-password.spec.ts:51:6 › Forgot Password › should handle full forgot password flow

1) [chromium] › e2e/forgot-password/tests/forgot-password.spec.ts:51:6 › Forgot Password › should handle full forgot password flow Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toBeVisible() failed Locator: getByTestId('snackbar').last().locator('mat-icon.type-icon').filter({ hasText: 'check' }).last() Expected: visible Timeout: 5000ms Error: element(s) not found Call log: - Expect "toBeVisible" with timeout 5000ms - waiting for getByTestId('snackbar').last().locator('mat-icon.type-icon').filter({ hasText: 'check' }).last() 56 | 57 | // Check snackbar first (transient) then persistent UI > 58 | await expect(getSuccessSnackbar(page)).toBeVisible(); | ^ 59 | await expect(getEmailSentTitle(page)).toBeVisible(); 60 | await expect(getResendEmailBtn(page)).toBeVisible(); 61 | await expect(getChangeEmailBtn(page)).toBeVisible(); at /home/runner/work/Exence/Exence/frontend/Exence/e2e/forgot-password/tests/forgot-password.spec.ts:58:42

Check failure on line 58 in frontend/Exence/e2e/forgot-password/tests/forgot-password.spec.ts

View workflow job for this annotation

GitHub Actions / test-and-build

[chromium] › e2e/forgot-password/tests/forgot-password.spec.ts:51:6 › Forgot Password › should handle full forgot password flow

1) [chromium] › e2e/forgot-password/tests/forgot-password.spec.ts:51:6 › Forgot Password › should handle full forgot password flow Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toBeVisible() failed Locator: getByTestId('snackbar').last().locator('mat-icon.type-icon').filter({ hasText: 'check' }).last() Expected: visible Timeout: 5000ms Error: element(s) not found Call log: - Expect "toBeVisible" with timeout 5000ms - waiting for getByTestId('snackbar').last().locator('mat-icon.type-icon').filter({ hasText: 'check' }).last() 56 | 57 | // Check snackbar first (transient) then persistent UI > 58 | await expect(getSuccessSnackbar(page)).toBeVisible(); | ^ 59 | await expect(getEmailSentTitle(page)).toBeVisible(); 60 | await expect(getResendEmailBtn(page)).toBeVisible(); 61 | await expect(getChangeEmailBtn(page)).toBeVisible(); at /home/runner/work/Exence/Exence/frontend/Exence/e2e/forgot-password/tests/forgot-password.spec.ts:58:42

Check failure on line 58 in frontend/Exence/e2e/forgot-password/tests/forgot-password.spec.ts

View workflow job for this annotation

GitHub Actions / test-and-build

[chromium] › e2e/forgot-password/tests/forgot-password.spec.ts:51:6 › Forgot Password › should handle full forgot password flow

1) [chromium] › e2e/forgot-password/tests/forgot-password.spec.ts:51:6 › Forgot Password › should handle full forgot password flow Error: expect(locator).toBeVisible() failed Locator: getByTestId('snackbar').last().locator('mat-icon.type-icon').filter({ hasText: 'check' }).last() Expected: visible Timeout: 5000ms Error: element(s) not found Call log: - Expect "toBeVisible" with timeout 5000ms - waiting for getByTestId('snackbar').last().locator('mat-icon.type-icon').filter({ hasText: 'check' }).last() 56 | 57 | // Check snackbar first (transient) then persistent UI > 58 | await expect(getSuccessSnackbar(page)).toBeVisible(); | ^ 59 | await expect(getEmailSentTitle(page)).toBeVisible(); 60 | await expect(getResendEmailBtn(page)).toBeVisible(); 61 | await expect(getChangeEmailBtn(page)).toBeVisible(); at /home/runner/work/Exence/Exence/frontend/Exence/e2e/forgot-password/tests/forgot-password.spec.ts:58:42
await expect(getEmailSentTitle(page)).toBeVisible();
await expect(getResendEmailBtn(page)).toBeVisible();
await expect(getChangeEmailBtn(page)).toBeVisible();
Expand Down
4 changes: 2 additions & 2 deletions frontend/Exence/src/assets/i18n/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -471,8 +471,8 @@
"login": "Anmeldung",
"resetSuccess": "Passwort erfolgreich aktualisiert!",
"emailSent": {
"title": "E-Mail gesendet",
"subtitle": "Wir haben Ihnen eine E-Mail an <strong>{{email}}</strong> 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?",
Expand Down
4 changes: 2 additions & 2 deletions frontend/Exence/src/assets/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -471,8 +471,8 @@
"login": "Login",
"resetSuccess": "Password successfully updated!",
"emailSent": {
"title": "Email sent",
"subtitle": "We have sent you an email at <strong>{{email}}</strong>. 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?",
Expand Down
4 changes: 2 additions & 2 deletions frontend/Exence/src/assets/i18n/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -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 <strong>{{email}}</strong>. 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?",
Expand Down
4 changes: 2 additions & 2 deletions frontend/Exence/src/assets/i18n/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -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 à <strong>{{email}}</strong>. 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 ?",
Expand Down
4 changes: 2 additions & 2 deletions frontend/Exence/src/assets/i18n/hu.json
Original file line number Diff line number Diff line change
Expand Up @@ -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 <strong>{{email}}1XTOKENX</strong> 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?",
Expand Down
4 changes: 2 additions & 2 deletions frontend/Exence/src/assets/i18n/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -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 <strong>{{email}}</strong>. 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?",
Expand Down
4 changes: 2 additions & 2 deletions frontend/Exence/src/assets/i18n/pl.json
Original file line number Diff line number Diff line change
Expand Up @@ -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 <strong>{{email}}</strong>. 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?",
Expand Down
4 changes: 2 additions & 2 deletions frontend/Exence/src/assets/i18n/sk.json
Original file line number Diff line number Diff line change
Expand Up @@ -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 <strong>{{email}}</strong>. 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?",
Expand Down
Loading