Q206: Work and Library say which object drives work: only a task runs

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ZacharyZhang-NYandClaude Opus 5.5 committed 2026-10-09 11:32:43 -04:00
1 parent 10283f87e5
commit 412fdceb3c
4 files changed
+11

No files matched your search

+7
View File
@@ -48,6 +48,8 @@ test("the library manages documents with versions and knowledge with history", a
expect(orgId).toBeTruthy();
await page.getByRole("button", { name: "Library", exact: true }).click();
// Each page says which object drives work: only a task runs.
await expect(page.getByText("Nothing here starts work; a task does.", { exact: false })).toBeVisible();
await page.getByRole("listitem").filter({ hasText: "Pricing memo" }).click();
await page.getByRole("button", { name: "Edit", exact: true }).click();
await page.getByLabel("Content").fill("Price is 12.");
@@ -57,6 +59,11 @@ test("the library manages documents with versions and knowledge with history", a
await page.getByLabel("Version").selectOption("1");
await expect(page.getByText("Price is 10.")).toBeVisible();
await page.getByRole("button", { name: "Knowledge", exact: true }).click();
await expect(page.getByText("Nothing here starts work; a task does.", { exact: false })).toBeVisible();
await page.getByRole("button", { name: "Work", exact: true }).click();
await expect(page.getByText("Only a task runs: an agent picks it up and does the work.", { exact: false })).toBeVisible();
await page.getByRole("button", { name: "Library", exact: true }).click();
await page.getByRole("button", { name: "Knowledge", exact: true }).click();
await page.getByRole("button", { name: "New", exact: true }).click();
await page.getByLabel("Topic").fill("Refund window");