Skip to content

Commit 6b4a3fa

Browse files
committed
fix(showcase/ms-agent-python): beautiful-chat Task Manager — drop networkidle wait
The MAF spec had an extra `await page.waitForLoadState("networkidle")` that LGP's identical test doesn't have. MAF's CopilotKit chat keeps a persistent SSE connection open after initial load, so the page never reaches network-idle — the wait always timed out at 120s before the actual click→todos flow could run. Removed the spurious line so the spec matches LGP exactly; the test now passes in ~5s instead of failing on a precondition that can never be satisfied.
1 parent c745ce0 commit 6b4a3fa

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

showcase/integrations/ms-agent-python/tests/e2e/beautiful-chat.spec.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,6 @@ test.describe("Beautiful Chat", () => {
227227
page,
228228
}) => {
229229
test.setTimeout(120_000);
230-
await page.waitForLoadState("networkidle");
231230

232231
await page
233232
.getByRole("button", { name: "Task Manager (Shared State)" })

0 commit comments

Comments
 (0)