Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

test(chat): reload page before asserting renamed thread persists

Steven Enamakel4261b5c86a29
diff --git a/app/test/playwright/specs/chat-thread-list-lifecycle.spec.ts b/app/test/playwright/specs/chat-thread-list-lifecycle.spec.ts
index 456d0cab85..4a6528af03 100644
--- a/app/test/playwright/specs/chat-thread-list-lifecycle.spec.ts
+++ b/app/test/playwright/specs/chat-thread-list-lifecycle.spec.ts
@@ -164,6 +164,7 @@ test.describe('Chat thread list — create, deep link, rename, delete', () => {
// And it survives a reload — proves the rename was committed to the
// backend, not just held in local component state.
await page.goto('/#/chat');
+ await page.reload();
await waitForAppReady(page);
await dismissWalkthroughIfPresent(page);
await expect(page.getByTestId(`thread-row-${threadId}`)).toContainText(RENAMED);