fix(cv): gate AI proposals on grounding and source freshness

This commit is contained in:
cesnimda
2026-10-08 14:28:06 +02:00
parent d8d262e4d1
commit 2398ff354e
27 changed files with 2553 additions and 157 deletions
+4 -1
View File
@@ -515,7 +515,10 @@ test("the Code template exports a long structured CV as searchable multi-page PD
await expect(page.getByLabel("CV name")).toHaveValue("Code PDF Verification");
await expect(page.getByRole("tab", { name: "Content" })).toHaveAttribute("aria-selected", "true");
await page.getByRole("tab", { name: "Content" }).click();
await page.getByRole("button", { name: "Expand Experience" }).click();
// Use the disclosure's keyboard contract during initial long-preview reflow,
// as for Education below; all content/export assertions remain unchanged.
await page.getByRole("button", { name: "Expand Experience" }).focus();
await page.keyboard.press("Enter");
await expect(page.getByRole("button", { name: "Collapse Experience" })).toBeVisible();
// Open the second disclosure with its keyboard contract while the long first
// section expands, avoiding a pointer target moving during the Collapse reflow.