test: ai-quick-actions suit #187 - plus de flag agent sur les actions
CI / lint (push) Successful in 3m1s
CI / security (push) Failing after 2m14s
CI / test (push) Successful in 4m58s
CI / build (push) Successful in 3m17s
CI / e2e (push) Failing after 16m56s

Le test assertait encore `agent: true` sur les quick actions frontmatter,
depuis la suppression du toggle mode agent (#187, v2.53.2). Job lint CI
(run 853) en échec. Commit rattaché à la livraison 2.53.2 déjà publiée :
pas de nouvel incrément (SKIP_VERSION_BUMP).
This commit is contained in:
2026-10-07 08:29:57 -04:00
parent 431d6e9338
commit 39bad990c0
+3 -4
View File
@@ -114,10 +114,9 @@ await test("the 4 scenarios of the design table map to the expected actions", ()
assert.deepEqual(suggestionsFor("selection").map((a) => a.id), ["concise", "fix_style", "explain_selection"]); assert.deepEqual(suggestionsFor("selection").map((a) => a.id), ["concise", "fix_style", "explain_selection"]);
}); });
await test("frontmatter actions are agent-mode (they mutate the document)", () => { await test("#187: frontmatter actions need no agent-mode flag (always agent)", () => {
assert.equal(getAction("frontmatter").agent, true); assert.equal(getAction("frontmatter").agent, undefined);
assert.equal(getAction("frontmatter_update").agent, true); assert.equal(getAction("frontmatter_update").agent, undefined);
assert.ok(!getAction("summarize_3").agent);
}); });
// ── i18n completeness (FR + EN) ──────────────────────────────────────────── // ── i18n completeness (FR + EN) ────────────────────────────────────────────