Q158: run history and run output come from the database, not the snapshot window

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ZacharyZhang-NYandClaude Opus 5.5 committed 2026-10-09 02:31:43 -04:00
1 parent a075f931d5
commit 9d166e3fc9
18 files changed
+222 -35

No files matched your search

+14
View File
@@ -290,6 +290,20 @@ test("the pinned CEO conversation is the Messages front door", async () => {
await expect(start).toBeVisible();
await expect(chatLog.getByText("General line 0", { exact: true })).toBeVisible();
// Runs older than the loaded window page in from the database, down to the first one.
await page.getByRole("button", { name: "Runs" }).click();
const runRows = page.locator(".pane-scroll .nav-row");
await expect(runRows).toHaveCount(200);
await page.getByRole("button", { name: "Show older runs" }).click();
await expect.poll(async () => runRows.count()).toBeGreaterThan(200);
for (let click = 0; click < 10 && await page.getByRole("button", { name: "Show older runs" }).isVisible(); click += 1) {
await page.getByRole("button", { name: "Show older runs" }).click();
await page.waitForTimeout(300);
}
await expect(page.getByText("These are all the runs.")).toBeVisible();
await page.getByRole("button", { name: "Messages" }).click();
await page.locator(".convo-item", { hasText: "general" }).click();
// The header lists the real members, how each agent replies, and who can read.
await page.getByRole("button", { name: /^Members \(/ }).click();
const roster = page.getByRole("menu");