fix(content) + tools(e2e): rutas de imagen Joomla + suite E2E

- scripts/fix_image_paths.php: reescribe src/href "images/..." en wp_posts
  a "/fea/wp-content/uploads/..." cuando el fichero existe en uploads.
  Cubre comillas dobles/simples, urldecode antes de chequear filesystem.
  Resuelto contra issue #34 (458 posts, 465 refs) y completado con #36
  (124 posts, 128 refs tras recuperar 127 assets del backup producción).

- tools/e2e/: pipeline 3-tier para validar WP local con coste mínimo en
  tokens de Claude — Playwright (Tier 1, deterministas) + Gemma 4 vision
  en LM Studio (Tier 2, bajo demanda) + Claude solo lee report.md.
  Issue de diseño #37, suite inicial en sites/feadulta.json (13 URLs).

- .gitignore: excluir tools/e2e/node_modules y out/.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-05-25 10:26:04 -04:00
parent f857734130
commit 56ee1580b0
8 changed files with 698 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
{
"name": "feadulta",
"baseUrl": "https://farmer.taild3aaf6.ts.net",
"viewport": { "width": 1366, "height": 900 },
"timeoutMs": 30000,
"userAgent": "feadulta-e2e/0.1 (+local)",
"urls": [
{ "slug": "home-es", "path": "/fea/" },
{ "slug": "home-en", "path": "/fea/en/" },
{ "slug": "home-fr", "path": "/fea/fr/" },
{ "slug": "home-it", "path": "/fea/it/" },
{ "slug": "home-pt", "path": "/fea/pt/" },
{ "slug": "effa-hub", "path": "/fea/escuela/" },
{ "slug": "carta-semana", "path": "/fea/carta-de-la-semana/" },
{ "slug": "evangelios", "path": "/fea/category/evangelios-y-comentarios/" },
{ "slug": "autores", "path": "/fea/autores-lista/" },
{ "slug": "post-tolle-44247", "path": "/fea/el-apego-a-tus-puntos-de-vista-y-opiniones/" },
{ "slug": "post-delta-44117", "path": "/fea/?p=44117" },
{ "slug": "post-delta-44131", "path": "/fea/?p=44131" },
{ "slug": "post-delta-44241", "path": "/fea/?p=44241" }
]
}