fix(e2e): limpiar también manuales/documentacion en el sandbox del e2e
CI / test-and-build (push) Successful in 11s

El sandbox de scripts/e2e-local.sh resetea data/admins.json a solo los
administradores ficticios de la prueba, pero no limpiaba content/manuales
ni content/documentacion. En cuanto existió una página real ahí con un
autor real (no ficticio), la validación interna del script fallaba con
'autor no registrado'. Ahora se limpian igual que memorias/tareas/proyectos.
This commit is contained in:
2026-08-18 00:35:14 -06:00
parent 57f347a259
commit 944158c240
+1 -1
View File
@@ -21,7 +21,7 @@ trap cleanup EXIT
cp -a "$ROOT/." "$TMP/" cp -a "$ROOT/." "$TMP/"
CLI="$TMP/bin/clusterlog" CLI="$TMP/bin/clusterlog"
for section in memorias tareas proyectos; do for section in memorias tareas proyectos manuales documentacion; do
find "$TMP/content/$section" -maxdepth 1 -type f -name '*.md' ! -name '_index.md' -delete find "$TMP/content/$section" -maxdepth 1 -type f -name '*.md' ! -name '_index.md' -delete
done done
find "$TMP/data/review-events" -type f ! -name '.gitkeep' -delete find "$TMP/data/review-events" -type f ! -name '.gitkeep' -delete