test(qa): assistant_shows_at_least_five_tools (was exactly five)
Assistant grew remember + recall tools this loop (7 total). The previous exact-count assertion is now an at-least check so future tool additions don't break QA.
This commit is contained in:
+1
-1
@@ -61,7 +61,7 @@ await p.waitForTimeout(800);
|
||||
await p.locator(".hub-chip", { hasText: /Command Assistant/ }).click();
|
||||
await p.waitForTimeout(1200);
|
||||
const toolNames = await p.locator(".agent-tool-name").allTextContents();
|
||||
record("assistant_shows_five_tools", toolNames.length === 5, toolNames.join(", "));
|
||||
record("assistant_shows_at_least_five_tools", toolNames.length >= 5, toolNames.join(", "));
|
||||
const beforeCount = await p.locator(".agent-turn-agent .agent-turn-body").count();
|
||||
await p.locator(".agent-composer textarea").fill("list processes");
|
||||
await p.locator(".agent-composer button", { hasText: /Send/i }).click();
|
||||
|
||||
Reference in New Issue
Block a user