Skip to content

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

chore(test): reformat e2e waitUntil calls

Steven Enamakel14f9ded36032
diff --git a/app/test/e2e/specs/chat-harness-wallet-flow.spec.ts b/app/test/e2e/specs/chat-harness-wallet-flow.spec.ts
index cf7d249c1b..9ba8dc5463 100644
--- a/app/test/e2e/specs/chat-harness-wallet-flow.spec.ts
+++ b/app/test/e2e/specs/chat-harness-wallet-flow.spec.ts
@@ -50,7 +50,8 @@ describe('Chat harness — wallet flow', () => {
this.timeout(90_000);
await navigateViaHash('/settings/recovery-phrase');
await browser.waitUntil(
- async () => (await textExists('Reveal recovery phrase')) || (await textExists('Copy to Clipboard')),
+ async () =>
+ (await textExists('Reveal recovery phrase')) || (await textExists('Copy to Clipboard')),
{ timeout: 20_000, timeoutMsg: 'Recovery Phrase panel did not mount' }
);
diff --git a/app/test/e2e/specs/chat-tool-call-flow.spec.ts b/app/test/e2e/specs/chat-tool-call-flow.spec.ts
index 281b1d84a1..afeca92e48 100644
--- a/app/test/e2e/specs/chat-tool-call-flow.spec.ts
+++ b/app/test/e2e/specs/chat-tool-call-flow.spec.ts
@@ -108,10 +108,11 @@ describe('Chat tool-call lifecycle', () => {
})
).toBe(true);
- await browser.waitUntil(
- async () => (await renderedToolNames()).includes('web_fetch'),
- { timeout: 45_000, interval: 100, timeoutMsg: 'Rendered web_fetch tool card never appeared' }
- );
+ await browser.waitUntil(async () => (await renderedToolNames()).includes('web_fetch'), {
+ timeout: 45_000,
+ interval: 100,
+ timeoutMsg: 'Rendered web_fetch tool card never appeared',
+ });
expect(await renderedToolNames()).toContain('web_fetch');
});