Skip to content

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

test(playwright): wait for turn completion before progress check

Steven Enamakeldba33bfbbb7c
diff --git a/app/test/playwright/specs/aui-tool-result-elements.spec.ts b/app/test/playwright/specs/aui-tool-result-elements.spec.ts
index 55ac96f405..19010620c7 100644
--- a/app/test/playwright/specs/aui-tool-result-elements.spec.ts
+++ b/app/test/playwright/specs/aui-tool-result-elements.spec.ts
@@ -281,8 +281,8 @@ test.describe('assistant-ui tool-result elements', () => {
]);
await sendTurn(page, threadId, PROMPT);
+ await waitForTurnCompletion(page, threadId);
if (progress) {
- await waitForTurnCompletion(page, threadId);
console.log(
'[epic235 edit progress]',
JSON.stringify({