Skip to content

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

style: format upstream E2E specs

Steven Enamakel7c993c329e4b
diff --git a/app/test/e2e/specs/credential-channels-flow.spec.ts b/app/test/e2e/specs/credential-channels-flow.spec.ts
index a375741867..cfaa6a2e58 100644
--- a/app/test/e2e/specs/credential-channels-flow.spec.ts
+++ b/app/test/e2e/specs/credential-channels-flow.spec.ts
@@ -114,10 +114,7 @@ const CREDENTIAL_CHANNELS = [
channel: 'yuanbao',
label: 'Yuanbao',
requiredFields: ['app_key', 'app_secret'],
- validCredentials: {
- app_key: 'e2e-yuanbao-app-key',
- app_secret: 'e2e-yuanbao-app-secret',
- },
+ validCredentials: { app_key: 'e2e-yuanbao-app-key', app_secret: 'e2e-yuanbao-app-secret' },
/** Omits `app_secret`, which the definition marks required. */
incompleteCredentials: { app_key: 'e2e-yuanbao-app-key' },
missingFieldHint: 'app_secret',
@@ -199,10 +196,7 @@ describe('Credential channels — Yuanbao and Email (IMAP/SMTP)', () => {
this.timeout(60_000);
// Start from a known-disconnected state so a leftover connection from an
// earlier run cannot make the assertion below pass without a connect.
- await callOpenhumanRpc('openhuman.channels_disconnect', {
- channel,
- authMode: 'api_key',
- });
+ await callOpenhumanRpc('openhuman.channels_disconnect', { channel, authMode: 'api_key' });
if (isConnected(await statusFor(channel))) {
throw new Error(
`precondition: ${label} should be disconnected before the connect under test`
@@ -229,10 +223,7 @@ describe('Credential channels — Yuanbao and Email (IMAP/SMTP)', () => {
it(`D.4 ${channel} connect missing a required credential is rejected`, async function () {
this.timeout(60_000);
- await callOpenhumanRpc('openhuman.channels_disconnect', {
- channel,
- authMode: 'api_key',
- });
+ await callOpenhumanRpc('openhuman.channels_disconnect', { channel, authMode: 'api_key' });
const out = await callOpenhumanRpc('openhuman.channels_connect', {
channel,
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 a9b8722cd0..066fc0d7d0 100644
--- a/app/test/playwright/specs/aui-tool-result-elements.spec.ts
+++ b/app/test/playwright/specs/aui-tool-result-elements.spec.ts
@@ -321,10 +321,7 @@ test.describe('assistant-ui tool-result elements', () => {
await scriptToolCall('AUI-DOC-CASE', [
{
name: 'generate_document',
- arguments: {
- title: DOC_TITLE,
- prompt: 'summarise the infrastructure work this quarter',
- },
+ arguments: { title: DOC_TITLE, prompt: 'summarise the infrastructure work this quarter' },
},
]);
diff --git a/app/test/playwright/specs/settings-ai-skills.spec.ts b/app/test/playwright/specs/settings-ai-skills.spec.ts
index 7cf5f5ebb8..c0a0bb385a 100644
--- a/app/test/playwright/specs/settings-ai-skills.spec.ts
+++ b/app/test/playwright/specs/settings-ai-skills.spec.ts
@@ -1,4 +1,4 @@
-import { expect, test, type Page } from '@playwright/test';
+import { expect, type Page, test } from '@playwright/test';
import {
bootAuthenticatedPage,
@@ -116,9 +116,7 @@ test.describe('Settings - AI & Skills', () => {
page,
}) => {
await emulateTauriRuntime(page);
- await callCoreRpc('openhuman.inference_update_model_settings', {
- default_model: PINNED_MODEL,
- });
+ await callCoreRpc('openhuman.inference_update_model_settings', { default_model: PINNED_MODEL });
expect(await pinnedDefaultModel()).toBe(PINNED_MODEL);
await openRoutingTab(page);