Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.
Rust agentai-agentapplecomputer-usecomputer-use-agentcontainerizationcuadesktop-automationhacktoberfestlumemacosmanusoperatorswiftvirtualizationvirtualization-frameworkwindowswindows-sandbox
test(spaces): wait for Share with a person in the Add an agent test (#6056)
ddupont5940e20419c8
diff --git a/apps/cua-spaces-web/src/__tests__/add-agent.test.tsx b/apps/cua-spaces-web/src/__tests__/add-agent.test.tsxindex db128fbcd2..9b9b24afd8 100644--- a/apps/cua-spaces-web/src/__tests__/add-agent.test.tsx+++ b/apps/cua-spaces-web/src/__tests__/add-agent.test.tsx@@ -62,8 +62,8 @@ describe("Add an agent", () => {await app({ joinRedeemMs: null });await openSheet();expect(q("[data-add-agent='pick']")?.textContent).toContain("Add an agent to ubuntu-build");- // Share with a person leads back to Share, where the page can share.- expect(qa("[data-add-row]").map((r) => r.dataset.addRow)).toEqual(["start", "connect", "share"]);+ // Share with a person leads back to Share, where the page can share (once the Space's Share is read).+ await waitFor(() => expect(qa("[data-add-row]").map((r) => r.dataset.addRow)).toEqual(["start", "connect", "share"]));expect(q("[data-add-row='share']")?.textContent).toContain("Share with a person");expect(qa("[data-add-agent-marks] [data-harness-mark]").map((m) => m.dataset.harnessMark)).toEqual(["hermes", "claude-code", "codex", "cursor", "openclaw", "t3code"]);});