Sant Feliu de GuixolsPLAN

Filtre de POIs per categoria Cultura

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

Accedeix a la pàgina del planificador de viatge a /ca/planificador-viaje i espera que els POIs inicials es carreguin via AJAX. Fes clic al filtre de categoria 'Cultura'. Verifica que es fa una nova petició AJAX a /ca/planificador-viaje/api/pois?category=cultura. Comprova que el llistat mostra únicament els POIs de la categoria cultura i que el mapa s'actualitza mostrant només aquests marcadors.

Pla de Test 1 pag · 9 passos · 10 validacions

Pàgines a visitar

/ca/planificador-viaje Trip planner page with map, category filters and itinerary

Passos del test

Validacions

Page H1 is visible with the planner title h1:has-text("Planifica el teu viatge")
Map container is present in the DOM #planner-map
Category filter navigation is visible nav[data-testid="planner-category-filter"]
Totes (all) chip exists button[data-planner-category=""]
Cultura chip exists with the correct label button[data-planner-category="cultura"]
Actiu chip exists button[data-planner-category="actiu"]
Familiars chip exists button[data-planner-category="familiars"]
Itinerary list container is present (where selected POIs would be added) #planner-itinerary-list
After clicking Cultura, the Cultura chip is highlighted as active (uses #00A2E0 background utility class) button[data-planner-category="cultura"].bg-\[\#00A2E0\]
After Cultura is active, the Totes chip is no longer in the active filled state (white background) button[data-planner-category=""].bg-white

Historial de validació 1 iteracions

#? FAIL

Passos del Test 3 steps

1

Navigate to Catalan Trip Planner

Navigates to the Catalan trip planner page and verifies the URL and main content are loaded

stable (2x)
step3455-catalan-trip-planner-navigation

step3455 catalan trip planner navigation

1. navigate Open the trip planner page in Catalan
2

Wait for Trip Planner Components to Load

Waits for all trip planner components to load including heading, map container, category filters, and allows time for the POIs API call to complete before capturing the initial state

stable (2x)
step3456-planner-initial-load

step3456 planner initial load

2. wait Wait for the page heading to confirm planner page rendered h1:has-text("Planifica el teu viatge")
3. wait Wait for the map container to be present #planner-map
4. wait Wait for the category filter navigation to render nav[data-testid="planner-category-filter"]
5. wait Allow initial AJAX GET /api/pois call to complete (no category param)
6. screenshot Capture initial planner state before filtering
Page H1 is visible with the planner title
Map container is present in the DOM
Category filter navigation is visible
3

Click Cultura Filter in Trip Planner

Clicks the Cultura category filter in the trip planner, waits for the AJAX request to complete, and captures the filtered state showing only cultural POIs

stable (2x)
step3457-planner-cultura-active

step3457 planner cultura active

7. click Click the Cultura category filter chip button[data-planner-category="cultura"]
8. wait Allow AJAX GET /api/pois?category=cultura to complete and UI to update
9. screenshot Capture planner state with Cultura filter active
Cultura chip exists with the correct label
Generació inicial FAIL
#1 FAIL · refine
Error d'execució del script de Playwright.
missing ) after argument list [veure tot] missing ) after argument list

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
28/05/2026 14:51

Tags

Tots els tags afegits

Cap tag assignat

Features Desat!

KPIs

Taxa d'èxit
100%
1r intent OK
0%
Iteracions totals
6
Temps total
38s
→ Validació
38s
Cost total
$3.8796
Tokens totals
3,214,566
Crides API
15
→ Cost/pas
$0.00c

Cost IA

Total
$3.8796
Generació
$0.5563
Execucions
$0.53c
Tokens totals
3,214,566
Crides API
15