mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-11-10 12:37:55 +01:00
test(e2e): wait for real chat thread readiness
Mirror the reviewed source fixture setup barrier before the unchanged composer assertion. Preserve all catalog protocol and production inputs. Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
904c74a17f
commit
fd5e3b1e5a
1 file changed
+1
@@ -8,6 +8,7 @@ test("a routine delivers a first digest, unread state, source link and replyable
|
||||
const f = await setup(request);
|
||||
try {
|
||||
await page.goto(`/${f.company.issuePrefix}/chats/${f.agents[1].id}`);
|
||||
await expect(page.getByTestId("task-chat-thread").locator(':scope > [aria-busy="false"]')).toBeVisible({ timeout: 20_000 });
|
||||
await expect(page.getByTestId("task-chat-composer-input")).toBeVisible();
|
||||
const routine = await json(await request.post(`/api/companies/${f.company.id}/routines`, { data: {
|
||||
title: "Morning PR review", description: "proactive-digest-fixture", assigneeAgentId: f.agent.id,
|
||||
|
||||
Reference in new issue
Block a user