mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-27 11:20:42 +01:00
Merge branch 'codex/work-folders-storybook-refresh' into codex/work-folders-runtime-hardening-refresh
* codex/work-folders-storybook-refresh: test: await chat connection creation after agent selection
This commit is contained in:
commit
81f2e821e1
1 file changed
+2
-1
@@ -1531,7 +1531,8 @@ test.describe.serial("native chat adapter UI", () => {
|
||||
).toBeVisible();
|
||||
await expectSetupRail(page);
|
||||
await selectMaya(page);
|
||||
expect(mock.createdWithAgentId).toBe(seed.agentId);
|
||||
// The selection schedules a request; clicking alone does not await it.
|
||||
await expect.poll(() => mock.createdWithAgentId).toBe(seed.agentId);
|
||||
expect(mock.createdWithAgentId).not.toBe(seed.otherAgentId);
|
||||
await expect(
|
||||
page.getByRole("button", { name: "Choose an active agent" }),
|
||||
|
||||
Reference in new issue
Block a user