Skip to content

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

test(playwright): update tool result spec for composio execute

Steven Enamakel04bddfcdea05
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 d699ca7950..dcc2fc2fbd 100644
--- a/app/test/playwright/specs/aui-tool-result-elements.spec.ts
+++ b/app/test/playwright/specs/aui-tool-result-elements.spec.ts
@@ -277,14 +277,14 @@ test.describe('assistant-ui tool-result elements', () => {
})
);
await scriptToolCall('AUI-TABLE-CASE', [
- { name: GITHUB_REPOSITORY_ACTION, arguments: { limit: 2 } },
+ {
+ name: 'composio_execute',
+ arguments: { tool: GITHUB_REPOSITORY_ACTION, arguments: { limit: 2 } },
+ },
]);
await sendTurn(page, threadId, 'AUI-TABLE-CASE list my repositories');
- const card = await openToolCall(
- page,
- /GITHUB_LIST_REPOSITORIES_FOR_THE_AUTHENTICATED_USER|repositor/i
- );
+ const card = await openToolCall(page, /composio_execute|repositor/i);
const table = card.locator('[data-slot="data-table"]').first();
await expect(table).toBeVisible({ timeout: 20_000 });