SprilurTests Auth

Sol·licitud de recuperació de contrasenya

Editar
/

Test validat correctament

L'script s'ha executat i ha passat després de 0 iteracions de refinament.

La IA ajustarà l'script segons el teu feedback i el validarà automàticament.

Prompt

Navega a /login i fes clic a l'enllaç de contrasenya oblidada. A la pàgina /forgot-password, introdueix l'email admin@sprilur.test i envia el formulari. Verifica que apareix un missatge de confirmació indicant que s'ha enviat un enllaç de recuperació a l'adreça de correu proporcionada.

Pla de Test 2 pag · 8 passos · 2 validacions

Pàgines a visitar

/login Login page with forgot password link
/forgot-password Password reset request form and confirmation message

Passos del test

Validacions

Confirmation message is visible after form submission .text-green-600
Page URL remains on /forgot-password after submission (no redirect on success) input[placeholder="email@example.com"]

Historial de validació 1 iteracions

#? FAIL

Passos del Test 3 steps

1

Navigate to login page and click forgot password link

Navigates to the login page, captures a screenshot showing the forgot password link, and clicks the forgot password link to proceed to password recovery

stable (1x)
step3696-login-page

step3696 login page

1. navigate Navigate to the login page
2. screenshot Capture the login page with the forgot password link visible
3. click Click the forgot password link a[href*="forgot-password"]
2

Fill forgot password form

Captures the forgot password form, fills the email field with admin@sprilur.test, and submits the password reset request

stable (1x)
step3697-forgot-password-form

step3697 forgot password form

4. screenshot Capture the empty forgot password form
5. fill Enter the email address in the reset form input[placeholder="email@example.com"]
6. click Submit the password reset form [data-test="email-password-reset-link-button"]
Page URL remains on /forgot-password after submission (no redirect on success)
3

Wait for confirmation message and capture screenshot

Waits for the green confirmation message to appear after submitting the password reset form and captures a screenshot showing the success state

stable (1x)
step3698-confirmation-message

step3698 confirmation message

7. wait Wait for the confirmation message to appear .text-green-600
8. screenshot Capture the confirmation message after form submission
Confirmation message is visible after form submission

Codi Playwright tots els passos · // @lock / // @unlock per protegir línies

Desat ✓ Edita directament · usa // @lock i // @unlock en línies separades per bloquejar una secció

Resum d'execució

Test estable · tots els passos correctes

Generant resum de l'execució…

Detalls

Estat
active
Generació
stable
Validació
stable
Tipus
Playwright
Creat
03/06/2026 14:31

Tags

Tots els tags afegits

Cap tag assignat

Instruccions IA

Projecte

- **Locale coverage:** every public page and every key flow must be exercised in **both `/es` and `/eu`**; additionally verify the `/locale/{eu}` switch redirects back and persists in session. - **Default test account:** `admin@sprilur.test` / `password` (is_admin, verified, no 2FA) — use for `/admin` and authenticated frontend flows. For permission tests, use a **non-admin verified** user. - **Data conventions:** suffix any created test data (project `title`, document name, etc.) with a unique `uid` (timestamp/run id) to avoid collisions across runs. - **Mandatory assertions:** every form submission must assert the success outcome (redirect/toast) **and** the absence of validation errors; every navigation must assert the resulting **URL including its locale prefix**. - **Scope/priority:** auth + private project flows (login, create, evaluate, export) are **regression-critical** and get happy-path + key edge cases; public/buscador flows get happy path plus the "no guide type / no results / URL hydration" edges; backoffice gets representative CRUD smoke tests. - **Known seeded data to rely on:** - Guide types: **Urbanización** (`urbanization`), **Edificación** (`building`). - Typologies (urbanization): Residencial, Industrial, Terciario, Logístico, Equipamiento público, Mixto. (building): Edificio industrial, Edificio terciario. - Scopes (ámbito): **Proyecto**, **Obra**. - Chapters: GEN General, TRA Trabajos previos, PRE, VIA, AGU Agua, EST, ENE Energía, ZON, RES Residuos, EJE, MAN; (building) EDI Diseño del edificio, ENV. - Agents: Promotor, Proyectista, Constructor, Dirección facultativa, Administración pública, Empresa de mantenimiento. - Stages (Etapa): Planeamiento, Proyecto, Ejecución, Uso y mantenimiento, Fin de vida. - **Exports:** for PDF/CSV, assert the response/download headers (and CSV `;`/`,` formatting), not the binary contents.

Features Desat!

KPIs

Taxa d'èxit
100%
1r intent OK
100%
Iteracions totals
3
Temps total
29s
→ Validació
29s
Cost total
$0.3660
Tokens totals
371,573
Crides API
5
→ Cost/pas
$0.00c

Cost IA

Total
$0.3660
Generació
$0.0714
Execucions
$0.00c
Tokens totals
371,573
Crides API
5

Últimes Execucions

Cap execució encara.