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
@@ -186,6 +186,9 @@ for (const mode of ["light", "dark"] as const) {
await page.keyboard.press("Control+k");
const dialog = page.getByRole("dialog");
await expect(dialog).toBeVisible();
// This is a loaded-state check: let the existing finite entry transition and
// its onEntered input focus finish before testing the command's Tab focus.
await loadedContrast(page, info, "loaded-command");
await keyboardFocus(page, dialog.getByRole("textbox"));
await page.keyboard.press("Tab");
const command = dialog.getByRole("button").first();