Sant Feliu de GuixolsLEGAL

Accés directe a /politica-privacidad sense prefix de locale

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

Navega directament a https://p565.tst.twentic.com/politica-privacidad (sense /es/ ni cap altre prefix de locale). Verifica que la pàgina carrega correctament amb codi HTTP 200 i que la URL es manté com /politica-privacidad sense redirecció. Comprova que el contingut de la política de privacitat es mostra correctament.

Pla de Test 1 pag · 4 passos · 6 validacions

Pàgines a visitar

/politica-privacidad Privacy policy page accessed without locale prefix — must return 200 with content (no redirect to /es/)

Passos del test

Validacions

URL pathname must remain /politica-privacidad without any locale prefix (no redirect to /es/, /ca/, /en/ or /fr/) html
Page H1 must read 'Política de privacidad' (confirms 200 OK with real content, not a 404 page) main h1
Privacy policy article must be present on the page main article.legal-content
First article section heading must be visible, confirming the privacy policy body rendered main article h2
Page title must contain 'Política de privacidad' (confirms the correct view rendered, not the 404 view whose title is 'Not Found') title
The 404 'Not Found' heading must NOT be present on the page main article.legal-content

Historial de validació 1 iteracions

#? FAIL

Passos del Test 1 steps

1

Navigate to Privacy Policy without Locale Prefix

Navigates directly to the privacy policy page without any locale prefix (/politica-privacidad), waits for the page to load completely, and captures a screenshot to verify the page renders correctly without requiring a locale in the URL.

stable (2x)
step3544-privacy-policy-no-locale-loaded

step3544 privacy policy no locale loaded

1. navigate Navigate directly to /politica-privacidad without any locale prefix
2. wait Wait for the main landmark to appear so the page is rendered main#main
3. wait Wait for the privacy policy H1 to be visible main h1
4. screenshot Capture the privacy policy page loaded without locale prefix
Page H1 must read 'Política de privacidad' (confirms 200 OK with real content, not a 404 page)
Generació inicial FAIL
#1 FAIL pas 2 · refine
Temps d'espera exhaurit — l'element no es va trobar o la pàgina no va acabar de carregar.
locator.waitFor: Timeout 30000ms exceeded. Call log: - waiting for locator('main#main') to be visible [veure tot] locator.waitFor: Timeout 30000ms exceeded. Call log: - waiting for locator('main#main') to be visible

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

Tags

Tots els tags afegits

Cap tag assignat

Features Desat!

KPIs

Taxa d'èxit
100%
1r intent OK
0%
Iteracions totals
2
Temps total
93s
→ Validació
93s
Cost total
$2.8968
Tokens totals
1,580,979
Crides API
8
→ Cost/pas
$0.00c

Cost IA

Total
$2.8968
Generació
$0.4431
Execucions
$0.00c
Tokens totals
1,580,979
Crides API
8