Skip to content

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

style(e2e): prettier-format the Playwright specs `main` is currently red on

M3gA-Mindc6f4a54b3e90
diff --git a/app/test/playwright/specs/connections-tab-deeplinks.spec.ts b/app/test/playwright/specs/connections-tab-deeplinks.spec.ts
index 684c9533bc..54f4bf64e1 100644
--- a/app/test/playwright/specs/connections-tab-deeplinks.spec.ts
+++ b/app/test/playwright/specs/connections-tab-deeplinks.spec.ts
@@ -202,9 +202,7 @@ test.describe('Connections — the /skills back-compat redirect', () => {
await expectSelectedTab(page, 'mcp');
});
- test('/skills?tab=mcp#fragment forwards the fragment as well as the query', async ({
- page,
- }) => {
+ test('/skills?tab=mcp#fragment forwards the fragment as well as the query', async ({ page }) => {
// `ForwardSearch` appends `hash` as well as `search`, and nothing here
// exercised that half. `AppRoutes.skills.test.tsx` does assert
// `loc.hash === '#section-mcp'`, but under `MemoryRouter`, which never
@@ -213,12 +211,7 @@ test.describe('Connections — the /skills back-compat redirect', () => {
// (`#/connections?tab=mcp#section-mcp`). That is the part only a browser
// can answer, and it is the mechanism `/webhooks` relies on for
// `#delivery-3`-style deep links.
- await openRoute(
- page,
- 'pw-skills-hash-forward',
- '/skills?tab=mcp#section-mcp',
- '/connections'
- );
+ await openRoute(page, 'pw-skills-hash-forward', '/skills?tab=mcp#section-mcp', '/connections');
await expect.poll(() => currentHash(page), { timeout: 15_000 }).toContain('tab=mcp');
expect(await currentHash(page)).toContain('#section-mcp');
await expectSelectedTab(page, 'mcp');
diff --git a/app/test/playwright/specs/core-rpc-bearer-401.spec.ts b/app/test/playwright/specs/core-rpc-bearer-401.spec.ts
index 57854a861b..eaabe1cae7 100644
--- a/app/test/playwright/specs/core-rpc-bearer-401.spec.ts
+++ b/app/test/playwright/specs/core-rpc-bearer-401.spec.ts
@@ -99,7 +99,6 @@ test.describe('Core RPC bearer 401 — recovery, not logout', () => {
expect(seenAuth[1]).toContain(ROTATED);
expect(seenAuth[1]).not.toEqual(seenAuth[0]);
-
// (3) The session survives. Without #5876 `clearSession()` wipes the auth
// profile and the app falls back to the signed-out surface. Assert the
// embeddings panel actually rendered rather than merely that the hash is
diff --git a/app/test/playwright/specs/embeddings-setup-modal.spec.ts b/app/test/playwright/specs/embeddings-setup-modal.spec.ts
index dfc2888621..bdd333c022 100644
--- a/app/test/playwright/specs/embeddings-setup-modal.spec.ts
+++ b/app/test/playwright/specs/embeddings-setup-modal.spec.ts
@@ -78,7 +78,11 @@ test.describe('Embeddings setup — Test connection for a custom endpoint', () =
// and no unavailable-reason text is shown for a non-custom provider.
await openEmbeddingsTab(page, 'pw-embed-openai');
- await page.getByRole('radio').filter({ hasText: /OpenAI/ }).first().click();
+ await page
+ .getByRole('radio')
+ .filter({ hasText: /OpenAI/ })
+ .first()
+ .click();
const testButton = page.getByRole('button', { name: TEST_CONNECTION });
await expect(testButton).toBeVisible({ timeout: 15_000 });
diff --git a/app/test/playwright/specs/settings-profiles-crud.spec.ts b/app/test/playwright/specs/settings-profiles-crud.spec.ts
index fdbccf3247..2ddae4b777 100644
--- a/app/test/playwright/specs/settings-profiles-crud.spec.ts
+++ b/app/test/playwright/specs/settings-profiles-crud.spec.ts
@@ -248,11 +248,7 @@ test.describe('Agent profiles — a failing action shows the reason', () => {
await route.fulfill({
status: 200,
contentType: 'application/json',
- body: JSON.stringify({
- jsonrpc: '2.0',
- id: body.id,
- error: { code: -32000, message },
- }),
+ body: JSON.stringify({ jsonrpc: '2.0', id: body.id, error: { code: -32000, message } }),
});
return;
}
diff --git a/app/test/playwright/specs/settings-theme-import-validation.spec.ts b/app/test/playwright/specs/settings-theme-import-validation.spec.ts
index 9679e37ded..89263c19a0 100644
--- a/app/test/playwright/specs/settings-theme-import-validation.spec.ts
+++ b/app/test/playwright/specs/settings-theme-import-validation.spec.ts
@@ -90,11 +90,7 @@ test.describe('Theme Studio — import validation', () => {
}
test('still accepts a theme carrying a single colour token', async ({ page }) => {
- const valid = JSON.stringify({
- name: 'Minimal',
- isDark: false,
- colors: { surface: '1 2 3' },
- });
+ const valid = JSON.stringify({ name: 'Minimal', isDark: false, colors: { surface: '1 2 3' } });
await attemptImport(page, valid);
diff --git a/app/test/playwright/specs/token-usage-load-failure.spec.ts b/app/test/playwright/specs/token-usage-load-failure.spec.ts
index e73eda9ff3..0a304506dc 100644
--- a/app/test/playwright/specs/token-usage-load-failure.spec.ts
+++ b/app/test/playwright/specs/token-usage-load-failure.spec.ts
@@ -43,11 +43,7 @@ async function failMethod(page: Page, method: string, message: string) {
await route.fulfill({
status: 200,
contentType: 'application/json',
- body: JSON.stringify({
- jsonrpc: '2.0',
- id: body.id,
- error: { code: -32000, message },
- }),
+ body: JSON.stringify({ jsonrpc: '2.0', id: body.id, error: { code: -32000, message } }),
});
return;
}