Skip to content

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

test(playwright): add assertions for local model runtime

Steven Enamakeldf15c13b9c15
diff --git a/app/test/playwright/specs/local-model-runtime.spec.ts b/app/test/playwright/specs/local-model-runtime.spec.ts
index 4e923fa6a1..791490d3b1 100644
--- a/app/test/playwright/specs/local-model-runtime.spec.ts
+++ b/app/test/playwright/specs/local-model-runtime.spec.ts
@@ -15,5 +15,8 @@ test.describe('Local model runtime route', () => {
await expect
.poll(async () => page.evaluate(() => window.location.hash))
.toContain('/connections');
+ const settledHash = await page.evaluate(() => window.location.hash);
+ expect(settledHash).not.toContain('local-model-debug');
+ await expect(page.getByText('Runtime Status')).toHaveCount(0);
});
});