Skip to content

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

style: apply prettier to the specs in this branch\n\nCI's `format:check` (`prettier --check .`) failed on 14 file(s). Formatting\nonly — no test logic, assertions or selectors changed.\n

M3gA-Mindbd166dd09bc3
diff --git a/app/test/playwright/specs/connector-modal-focus-trap.spec.ts b/app/test/playwright/specs/connector-modal-focus-trap.spec.ts
index 296926feab..a97e720612 100644
--- a/app/test/playwright/specs/connector-modal-focus-trap.spec.ts
+++ b/app/test/playwright/specs/connector-modal-focus-trap.spec.ts
@@ -41,9 +41,7 @@ async function openSecretDialog(
document.body.prepend(anchor);
anchor.focus();
});
- await expect
- .poll(() => page.evaluate(() => document.activeElement?.id))
- .toBe('pw-focus-anchor');
+ await expect.poll(() => page.evaluate(() => document.activeElement?.id)).toBe('pw-focus-anchor');
await page.evaluate(
({ keyName }) => {
@@ -116,7 +114,6 @@ test.describe('Connector modal — focus containment', () => {
).toBe(true);
}
});
-
});
test.describe('Connector modal — Escape', () => {
diff --git a/app/test/playwright/specs/flow-canvas-node-add.spec.ts b/app/test/playwright/specs/flow-canvas-node-add.spec.ts
index 3bad8e3342..acaa7bf341 100644
--- a/app/test/playwright/specs/flow-canvas-node-add.spec.ts
+++ b/app/test/playwright/specs/flow-canvas-node-add.spec.ts
@@ -111,8 +111,7 @@ async function openCanvas(page: import('@playwright/test').Page, userId: string)
* here, because `FlowNodeComponent` emits three such testids per card
* (`flow-node-step`, `-summary`, `-validate`).
*/
-const nodeCards = (page: import('@playwright/test').Page) =>
- page.locator('.react-flow__node');
+const nodeCards = (page: import('@playwright/test').Page) => page.locator('.react-flow__node');
const palette = (page: import('@playwright/test').Page) => page.getByTestId('flow-node-palette');
@@ -163,9 +162,9 @@ test.describe('Flow canvas — the insert palette', () => {
// The palette tile carries the kind it will insert; the canvas must gain a
// card of that same kind.
- await expect(
- page.locator('[data-node-kind="http_request"]').first()
- ).toBeVisible({ timeout: 15_000 });
+ await expect(page.locator('[data-node-kind="http_request"]').first()).toBeVisible({
+ timeout: 15_000,
+ });
});
});
@@ -218,9 +217,7 @@ test.describe('Flow canvas — the unsaved-changes guard', () => {
// And the discard was real: the stored graph still has its single node.
const payload = await callCoreRpc<unknown>('openhuman.flows_get', { id: flowId });
const rec = payload as Record<string, unknown>;
- const flow = (rec && 'result' in rec ? rec.result : rec) as {
- graph?: { nodes?: unknown[] };
- };
+ const flow = (rec && 'result' in rec ? rec.result : rec) as { graph?: { nodes?: unknown[] } };
expect(flow?.graph?.nodes ?? []).toHaveLength(1);
});
diff --git a/app/test/playwright/specs/flows-canvas-routes.spec.ts b/app/test/playwright/specs/flows-canvas-routes.spec.ts
index 8beb5410f8..352e6146ea 100644
--- a/app/test/playwright/specs/flows-canvas-routes.spec.ts
+++ b/app/test/playwright/specs/flows-canvas-routes.spec.ts
@@ -64,10 +64,7 @@ const newWorkflowButton = (page: import('@playwright/test').Page) =>
* `missing field 'kind'`.
*/
function simpleGraph(name: string) {
- return {
- nodes: [{ id: 'trigger', kind: 'trigger', name, config: {} }],
- edges: [],
- };
+ return { nodes: [{ id: 'trigger', kind: 'trigger', name, config: {} }], edges: [] };
}
async function goto(page: import('@playwright/test').Page, route: string) {
diff --git a/app/test/playwright/specs/skills-search-install.spec.ts b/app/test/playwright/specs/skills-search-install.spec.ts
index 5a4c54dcd8..13ba459b8c 100644
--- a/app/test/playwright/specs/skills-search-install.spec.ts
+++ b/app/test/playwright/specs/skills-search-install.spec.ts
@@ -99,7 +99,6 @@ test.describe('Skills explorer — the search box debounces', () => {
await expect.poll(() => queries.length, { timeout: 10_000 }).toBe(2);
expect(queries[1]).toBe('github');
});
-
});
test.describe('Skills explorer — typing narrows what is on screen', () => {