Skip to content

Open-source Grok Bot alternative with a virtual machine that bots can use

Close the shot list where main's new shots meet the department access shots

Azad Jagtap226297d276a3
diff --git a/scripts/verify-team-bot-access.ts b/scripts/verify-team-bot-access.ts
index a77d08253f..4144430a62 100644
--- a/scripts/verify-team-bot-access.ts
+++ b/scripts/verify-team-bot-access.ts
@@ -298,6 +298,7 @@ try {
await crowd(); await openSettings();
await page.evaluate(`(() => { const field = document.querySelector("[data-access-search]"); Object.getOwnPropertyDescriptor(HTMLInputElement.prototype, "value").set.call(field, "payroll"); field.dispatchEvent(new Event("input", { bubbles: true })); return true; })()`);
await page.until("document.querySelectorAll('[data-access-row]').length === 1", "the search");
+ } },
{ name: "department-access-preview", who: "ada", query: "mode=simple", act: async () => {
for (const id of [payroll.id, helpdesk.id]) await as("ada", "PATCH", `/api/bots/${id}`, { section: "Finance" });
await page.click('[aria-label="Actions for Finance department"]', "Finance's menu");