S3.7: isometric office assets: animated monitors, coffee machine with steam, toilets, sinks, real-time wall clock, decorative window weather; explanatory on-screen notes and the hint bubble removed
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
23c7d55b1d
commit
202418f81c
17 files changed
+265
-94
No files matched your search
@@ -48,8 +48,6 @@ 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.");
|
||||
@@ -60,9 +58,7 @@ test("the library manages documents with versions and knowledge with history", a
|
||||
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();
|
||||
|
||||
@@ -91,9 +91,8 @@ test("the office floor opens agent details on click", async () => {
|
||||
}
|
||||
await expect(canvas).toBeVisible();
|
||||
|
||||
// The office offers no pretend controls over work, and says what a position means.
|
||||
// The office offers no pretend controls over work.
|
||||
await expect(page.getByRole("button", { name: "Whip" })).toHaveCount(0);
|
||||
await expect(page.getByText("Agents with work stay at their desks. Only idle agents walk to coffee, snacks or the meeting table.")).toBeVisible();
|
||||
|
||||
// Hired agents take open-floor desks in hire order and are clickable too.
|
||||
await hireAgent(page, "Ava Patel", "Designer", "Design");
|
||||
|
||||
@@ -60,15 +60,13 @@ test("text uses the bundled pixel font, and the palette follows the day part, se
|
||||
await page.keyboard.press("Escape");
|
||||
await expect(dialog).toHaveCount(0);
|
||||
|
||||
// Progress is an XP bar announced as a value; hints are spoken by the guide in a bubble.
|
||||
// Progress is an XP bar announced as a value.
|
||||
await page.getByRole("button", { name: "Home" }).click();
|
||||
await expect(page.getByRole("progressbar", { name: "Goal progress" })).toHaveAttribute("aria-valuenow", "0");
|
||||
// On the roster the only agent holds the largest budget, and the bar says it compares budgets, not spend.
|
||||
await page.getByRole("button", { name: "Team", exact: true }).click();
|
||||
await expect(page.getByRole("progressbar", { name: "Budget compared with the largest agent budget" })).toHaveAttribute("aria-valuenow", "100");
|
||||
await page.getByRole("button", { name: "Work", exact: true }).click();
|
||||
const hint = page.getByRole("note").filter({ hasText: "Only a task runs" });
|
||||
await expect(hint.locator(".hint-speaker svg.pixel-icon")).toHaveCount(1);
|
||||
// Tabs are raised pixel tabs; fields are sunken pixel boxes.
|
||||
const views = page.getByRole("radiogroup", { name: "View" });
|
||||
expect(await views.locator("[aria-checked=true]").evaluate((tab) => getComputedStyle(tab).borderBottomColor === getComputedStyle(tab).backgroundColor)).toBe(true);
|
||||
|
||||
Reference in new issue
Block a user