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. Navega a un projecte propi que tingui l'avaluació calculada a través de /es/projects/{id}/csv. Localitza i activa l'enllaç o botó d'exportació a CSV. Verifica que s'inicia una descàrrega d'un fitxer CSV. Comprova que el fitxer descarregat utilitza el format espanyol amb separador de camps ';' i separador decimal ','.
Pla de Test 3 pag · 12 passos · 6 validacions
Pàgines a visitar
Passos del test
| # | Acció | Descripció | Selector | Valor | |
|---|---|---|---|---|---|
#login-email
#login-password
button[type='submit']
h1
a[href$='/es/projects/2']
a[href$='/csv']
a[href$='/csv']
Validacions
h1
h1
a[href$='/csv']
Historial de validació 1 iteracions
Passos del Test 4 steps
Navigate to login page
Navigate to the login page and capture initial state with form visible
step3766 login page
Login with admin credentials
Fills login credentials (admin@sprilur.test/password), submits the form, waits for dashboard redirect, and captures the project list dashboard
step3767 dashboard projects list
#login-email #login-password button[type='submit'] h1 Click Test project results link and capture export page
Clicks the Resultados link for the Test project, waits for the project results page to load with the CSV export functionality visible, and captures a screenshot showing the export button and evaluation data.
step3768 project results export page
a[href$='/es/projects/2'] a[href$='/csv'] Click export CSV and wait for download
Clicks the CSV export link and waits for the download to start, then captures the page state and verifies the export functionality works correctly
step3769 csv download initiated
a[href$='/csv']
Codi Playwright
tots els passos · // @lock / // @unlock per protegir línies
// @lock i // @unlock en línies separades per bloquejar una secció
Resum d'execució
Test estable · tots els passos correctesGenerant resum de l'execució…
Detalls
- Estat
- active
- Generació
- stable
- Validació
- stable
- Tipus
- Playwright
- Creat
- 03/06/2026 14:43
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
- 0%
- Iteracions totals
- 16
- Temps total
- 129s
- → Validació
- 129s
- Cost total
- $1.2103
- Tokens totals
- 1,589,224
- Crides API
- 10
- → Cost/pas
- $0.00c
Cost IA
- Total
- $1.2103
- Generació
- $0.1744
- Execucions
- $0.00c
- Tokens totals
- 1,589,224
- Crides API
- 10