fix(cv): gate AI proposals on grounding and source freshness
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user