From 39bad990c00dc9a1c3ef2e8a80abcb84949c1ac5 Mon Sep 17 00:00:00 2001 From: Bruno Charest Date: Wed, 7 Oct 2026 08:29:57 -0400 Subject: [PATCH] test: ai-quick-actions suit #187 - plus de flag agent sur les actions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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). --- tests/frontend/ai-quick-actions.test.mjs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tests/frontend/ai-quick-actions.test.mjs b/tests/frontend/ai-quick-actions.test.mjs index 55346ba..31ff454 100644 --- a/tests/frontend/ai-quick-actions.test.mjs +++ b/tests/frontend/ai-quick-actions.test.mjs @@ -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"]); }); -await test("frontmatter actions are agent-mode (they mutate the document)", () => { - assert.equal(getAction("frontmatter").agent, true); - assert.equal(getAction("frontmatter_update").agent, true); - assert.ok(!getAction("summarize_3").agent); +await test("#187: frontmatter actions need no agent-mode flag (always agent)", () => { + assert.equal(getAction("frontmatter").agent, undefined); + assert.equal(getAction("frontmatter_update").agent, undefined); }); // ── i18n completeness (FR + EN) ────────────────────────────────────────────