Skip to content

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

test(smoke): update smoke test assertion for navigation

Steven Enamakel27ec6a09c43f
diff --git a/app/test/playwright/specs/smoke.spec.ts b/app/test/playwright/specs/smoke.spec.ts
index 57b6392196..2e6f6a5357 100644
--- a/app/test/playwright/specs/smoke.spec.ts
+++ b/app/test/playwright/specs/smoke.spec.ts
@@ -10,7 +10,7 @@ test.describe('Smoke', () => {
await expect
.poll(async () => page.evaluate(() => window.location.hash))
.toMatch(/^#\/(home|chat)/);
- await expect(page.locator('[data-testid="bottom-tab-bar"], nav')).toHaveCount(1);
+ await expect(page.getByRole('navigation', { name: 'Home' })).toHaveCount(1);
const bootstrap = await page.evaluate(() => ({
rpcUrl: localStorage.getItem('openhuman_core_rpc_url'),