Prompt
- goal: In the fichas buscador, after applying filters the "Limpiar filtros" button clears all selected filters tier: flow entry: url: /es/fichas/buscador auth: guest steps: - { action: click, target: "Tipo de guía = Urbanización", selector: 'aside label:has-text("Urbanización")' } - { action: click, target: "a Tipología option", selector: 'aside section:has(h3:has-text("Tipología")) label:first-of-type' } - { action: click, target: "an Agente option", selector: 'aside section:has(h3:has-text("Agentes implicados")) label:first-of-type' } - { action: click, target: "Limpiar filtros", selector: 'button:has-text("Limpiar filtros")', note: "this button only exists in the DOM after >=1 filter is selected (eu label: 'Garbitu iragazkiak')" } - { action: assert, target: "all filters cleared" } accept: - expect_no_checked_input: 'input[type="radio"]:checked' - expect_no_checked_input: 'input[type="checkbox"]:checked' notes: > Scope interactions to the visible desktop `aside` (duplicate mobile+desktop DOM). Must select a guide type first (radio, code-keyed). The "Limpiar filtros" button (wire:click=clearFilters) is only rendered when selectedFilterCount > 0. Livewire debounce 300ms on search / round-trip on filters — wait before asserting. Basque button label: "Garbitu iragazkiak".
Pla de Test 3 pag · 23 passos · 0 validacions
Pàgines a visitar
Passos del test
| # | Acció | Descripció | Selector | Valor | |
|---|---|---|---|---|---|
input[type="email"]
input[type="password"]
button[type="submit"]
label:has-text('Urbanización')
section:has(h2:has-text('Tipologia')) label:first-of-type
section:has(h2:has-text('Tipologia')) label:nth-of-type(2)
section:has(h2:has-text('Agentes implicados')) label:first-of-type
section:has(h2:has-text('Etapa')) label:first-of-type
button:has-text('Limpiar filtros')
label:has-text('Eraikitze')
section:has(h2:has-text('Tipologia')) label:first-of-type
section:has(h2:has-text('Agentes implicados')) label:first-of-type
section:has(h2:has-text('Agentes implicados')) label:nth-of-type(2)
section:has(h2:has-text('Etapa')) label:first-of-type
section:has(h2:has-text('Capitulo')) label:first-of-type
button:has-text('Garbitu iragazkiak')
Historial de validació 1 iteracions
Detalls
- Estat
- active
- Generació
- none
- Tipus
- Playwright
- Creat
- 11/06/2026 05:27
- Descripció
- Verificar que el botón de limpiar filtros en el buscador elimina todos los filtros aplicados y muestra resultados sin filtrar
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
- 28.6%
- 1r intent OK
- 0%
- Iteracions totals
- 12
- Temps total
- 157s
- → Validació
- 157s
- Cost total
- $1.3111
- Tokens totals
- 271,388
- Crides API
- 16
- → Cost/pas
- $0.00c
Cost IA
- Total
- $1.3111
- Generació
- $1.3044
- Execucions
- $0.67c
- Tokens totals
- 271,388
- Crides API
- 16
Últimes Execucions
Cap execució encara.