Vérification des propositions : alertes dans l'aperçu et dans la réponse MCP (5b, ADR 0011)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Pierre MARTIN
2026-11-23 02:28:07 +01:00
co-authored by Claude Opus 5.5
parent ebe4939f17
commit 5d1b284caf
15 changed files with 400 additions and 5 deletions
+4
View File
@@ -468,6 +468,10 @@ function check(scheme, cond, msg) {
return "#import-json=" + encodeURIComponent(JSON.stringify({ program, reason: "Un WOD pour essayer." }));
});
await go(wodLink);
// Vérification (lot 5b) : sans barre de traction, l'aperçu le signale, l'adoption reste libre.
ok(await page.locator(".findings").getByText("WOD Mini Fran · Tractions kipping : demande barre de traction, absent de ton matériel.").isVisible(), "aperçu : alerte du matériel absent");
ok(await page.locator(".findings li").count() === 1, "aperçu : seulement ce que la proposition ajoute");
await shot("22b-alerte");
await button("Adopter").click();
await settle();
await go("#/");