Test validat correctament
L'script s'ha executat i ha passat després de 0 iteracions de refinament.
Prompt
Inicia sessió amb admin@sprilur.test i password. Accedeix a l'avaluació d'un projecte obert i selecciona una resposta en qualsevol fitxa disponible. Espera uns segons i verifica que la resposta s'ha guardat automàticament sense necessitat de prémer cap botó. Comprova que el percentatge de progrés i la puntuació total s'actualitzen a la interfície sense que la pàgina es recarregui.
Pla de Test 4 pag · 15 passos · 7 validacions
Pàgines a visitar
Passos del test
| # | Acció | Descripció | Selector | Valor | |
|---|---|---|---|---|---|
#login-email
#login-password
button[type='submit']
article:first-of-type a[href$='/evaluate']
article:nth-of-type(2) button.text-zinc-400
[role='dialog'] button:last-of-type
input[name='exclusive_10']
Validacions
h1
[role='dialog']
input[name='exclusive_10']:not(:checked)
input[name='exclusive_10']:checked
a[href*='/evaluate/5'] span.text-xs
article:nth-of-type(2) aside
input[name='exclusive_10']:checked
Historial de validació 1 iteracions
Passos del Test 6 steps
Admin Login to Sprilur Dashboard
Navigates to the Sprilur login page, fills in admin credentials (admin@sprilur.test/password), submits the form, and captures the dashboard after successful login
step3779 login page
step3779 dashboard projects
#login-email #login-password button[type='submit'] Click Evaluación link on first project
Clicks the Evaluación link on the first project in the dashboard to enter evaluation mode
step3780 project evaluation
article:first-of-type a[href$='/evaluate'] Reset AGU 2 ficha evaluation
Clicks the reset button on the second ficha (AGU 2), confirms the reset in the dialog, and captures the reset state showing unchecked responses and 0.0 scores
step3781 evaluation ficha initial
article:nth-of-type(2) button.text-zinc-400 [role='dialog'] button:last-of-type Select partial implementation response for AGU 2 ficha
Selects the partial implementation response option for the AGU 2 ficha evaluation and captures the immediate score update, then waits for auto-save
step3782 evaluation ficha response selected
input[name='exclusive_10'] Navigate to dashboard
Navigates away from the evaluation page to the dashboard to simulate leaving the page and test auto-save persistence
step3783 dashboard after navigation
Navigate back to evaluation and verify persistence
Navigate back to the evaluation page and verify that the previously selected response for AGU 2 ficha is still persisted after auto-save
step3784 evaluation ficha after reload
Codi Playwright
tots els passos · // @lock / // @unlock per protegir línies
// @lock i // @unlock en línies separades per bloquejar una secció
Detalls
- Estat
- active
- Generació
- unstable
- Validació
- stable
- Tipus
- Playwright
- Creat
- 03/06/2026 14:42
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
- 33.3%
- 1r intent OK
- 0%
- Iteracions totals
- 12
- Temps total
- 163s
- → Validació
- 163s
- Cost total
- $1.4452
- Tokens totals
- 1,834,845
- Crides API
- 12
- → Cost/pas
- $0.00c
Cost IA
- Total
- $1.4452
- Generació
- $0.2210
- Execucions
- $0.48c
- Tokens totals
- 1,834,845
- Crides API
- 12
Últimes Execucions
Cap execució encara.