The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
style(e2e): prettier-format five Playwright specs merged from main
Shanu17f28ddab7e8
diff --git a/app/test/playwright/specs/connections-tab-deeplinks.spec.ts b/app/test/playwright/specs/connections-tab-deeplinks.spec.tsindex f4a5e89f9d..9eb94b9cc5 100644--- a/app/test/playwright/specs/connections-tab-deeplinks.spec.ts+++ b/app/test/playwright/specs/connections-tab-deeplinks.spec.ts@@ -196,9 +196,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@@ -207,12 +205,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.tsindex 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 isdiff --git a/app/test/playwright/specs/embeddings-setup-modal.spec.ts b/app/test/playwright/specs/embeddings-setup-modal.spec.tsindex 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.tsindex 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/token-usage-load-failure.spec.ts b/app/test/playwright/specs/token-usage-load-failure.spec.tsindex 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;}