Sant Feliu de GuixolsEVENT

Error 404 per event inexistent

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 directament a https://p565.tst.twentic.com/ca/agenda/esdeveniments/slug-inexistent (un slug que no existeix). Verifica que es mostri correctament la pàgina d'error 404 amb el missatge adequat en català.

Pla de Test 1 pag · 3 passos · 7 validacions

Pàgines a visitar

/ca/agenda/esdeveniments/slug-inexistent Non-existent event detail URL — must render the 404 error page with HTTP 404 status

Passos del test

Validacions

URL remains at the non-existent slug (no redirect to agenda index or home) html
Page document title is 'Not Found' title
Main 404 heading is present and visible h1
Heading text equals '404' h1
The 'Not Found' status label is visible next to the 404 code div[role="main"]
The body text contains the 'Not Found' message body
The 404 page does NOT render the standard public site main landmark (it uses the generic Laravel error layout) div[role="main"]

Historial de validació 1 iteracions

#? FAIL

Passos del Test 2 steps

1

Navigate to Non-existent Event Slug

Navigates directly to a non-existent event URL to test 404 handling for event slugs in the Catalan agenda section

stable (2x)
step3443-404-event-slug-not-found

step3443 404 event slug not found

1. navigate Navigate directly to a non-existent event slug under the Catalan agenda section
2

Wait for 404 Page and Capture Error State

Waits for the 404 error page heading to render and captures a screenshot of the complete 404 page for a non-existent event slug

stable (2x)
step3444-404-event-page

step3444 404 event page

2. wait Wait for the 404 page heading to be rendered h1
3. screenshot Capture the full 404 error page
Main 404 heading is present and visible
Heading text equals '404'
Generació inicial FAIL
#1 FAIL pas 3 · refine
Temps d'espera exhaurit — l'element no es va trobar o la pàgina no va acabar de carregar.
expect(locator).toBeVisible() failed Locator: locator('title').first() Expected: visible Received: hidden Timeout: 50... [veure tot] expect(locator).toBeVisible() failed Locator: locator('title').first() Expected: visible Received: hidden Timeout: 5000ms Call log: - Expect "to.be.visible" with timeout 5000ms - waiting for locator('title').first() 9 × locator resolved to <title>Not Found</title> - unexpected value "hidden"

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:49

Tags

Tots els tags afegits

Cap tag assignat

Features Desat!

KPIs

Taxa d'èxit
100%
1r intent OK
0%
Iteracions totals
4
Temps total
23s
→ Validaci&oacute;
23s
Cost total
$2.8045
Tokens totals
1,502,812
Crides API
9
→ Cost/pas
$0.00c

Cost IA

Total
$2.8045
Generació
$0.6786
Execucions
$0.00c
Tokens totals
1,502,812
Crides API
9