SprilurTests Evaluation

Obrir l'avaluació per capítols

/

Prompt

- goal: From the dashboard, opening an OPEN project's evaluation loads the chapter-based evaluation UI (chapter stepper + applicable fichas grouped by chapter) tier: flow entry: url: /dashboard auth: user:admin preconditions: - desc: The logged-in user owns at least one project in status Abierto (status=1) existing_data_required: true steps: - { action: click, target: "Evaluación (on first open project card)", selector: 'article a:has-text("Evaluación")', note: "the Evaluación link only renders for status==1 projects; href = route projects.evaluate" } - { action: assert, target: "Evaluation UI with chapter stepper", selector: 'aside' } accept: - expect_url_contains: /projects/ - expect_url_contains: /evaluate - expect_visible: 'aside' - expect_visible: 'article' notes: > Route: /{locale}/projects/{project}/evaluate/{chapter?}. The dashboard (route dashboard) lists project cards; the red "Evaluación" link appears only when status==1. Chapters render as a horizontal stepper (chapter nav) and cards as <article>. existing_data_required: an OPEN project owned by the user.

Pla de Test 4 pag · 12 passos · 13 validacions

Pàgines a visitar

/ Homepage with entry point to evaluate projects
/login Login form with email and password fields
/dashboard Projects dashboard listing user's own projects with status and action links
/es/projects/7/evaluate Evaluation interface showing chapter sidebar stepper and applicable fichas grouped by chapter

Passos del test

Validacions

Login page email field is visible #login-email
Login page password field is visible #login-password
Dashboard heading 'Mis proyectos' is visible after login h1
At least one project card with 'Abierto' status is visible on dashboard article:first-of-type
Evaluación link is present on the first project card article:first-of-type a[href$='/evaluate']
Chapter navigation sidebar (aside nav) is visible on the evaluation page aside nav
'Capítulos' label is shown at the top of the chapter sidebar aside nav
Chapter links are visible in the sidebar (stepper showing all chapters) aside nav a[href*='/evaluate/']:first-child
Chapter heading (e.g. 'Agua' for AGU) is visible in main evaluation content main h2
At least one ficha (article card) is rendered in the main content area main article
Each ficha has an Aplicabilidad group with radio options main article [role='group']
Ficha PDF link is present on each card main article a[href$='.pdf']
Bottom stepper navigation shows 'Siguiente' link to advance to next chapter main nav a[href*='/evaluate/']

Historial de validació 1 iteracions

#? FAIL

Detalls

Estat
active
Generació
none
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
100%
1r intent OK
0%
Iteracions totals
20
Temps total
175s
→ Validaci&oacute;
175s
Cost total
$0.7256
Tokens totals
570,647
Crides API
10
→ Cost/pas
$0.00c

Cost IA

Total
$0.7256
Generació
$0.2047
Execucions
$0.00c
Tokens totals
570,647
Crides API
10