Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions apps/web/tests/e2e/smoke.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ test("landing page explains CoDev and offers a clear start", async ({
expect(consoleErrors).toEqual([]);
});

test("the workspace demo shows three agents editing one file", async ({
test("the workspace demo shows three agents working across isolated files", async ({
page,
}) => {
await page.goto("/");

const demo = page.getByRole("region", { name: "Shared code editor" });
const demo = page.getByRole("region", { name: "Code editor" });
const agents = page.getByLabel("Live agents");
await expect(demo).toBeVisible();
await expect(agents.getByText("Codex")).toBeVisible();
Expand All @@ -57,10 +57,10 @@ test("the workspace demo shows three agents editing one file", async ({
await expect(page.getByRole("button", { name: "Pause demo" })).toBeVisible();
await page.getByRole("button", { name: "Write" }).click();
await expect(
page.getByText(/edit separate regions of the file together/),
page.getByText(/hand off through the workspace brain/i),
).toBeVisible();
await expect(page.getByLabel("Completed shared file")).toContainText(
"checkoutSchema.parse(input)",
await expect(page.getByLabel("Completed file")).toContainText(
"reserveSchema.parse(input)",
);

await page.getByRole("button", { name: "Ready" }).click();
Expand Down
Loading