Skip to content

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

test: align web e2e route expectations

Steven Enamakelb83e9a84664e
diff --git a/app/test/playwright/specs/navigation.spec.ts b/app/test/playwright/specs/navigation.spec.ts
index b27f6dec53..a91fc08f62 100644
--- a/app/test/playwright/specs/navigation.spec.ts
+++ b/app/test/playwright/specs/navigation.spec.ts
@@ -50,7 +50,10 @@ test.describe('Navigation', () => {
const text = await page.locator('#root').innerText();
return text.trim().length;
})
- .toBeGreaterThan(50);
+ // `/human` intentionally keeps the mascot stage sparse; its complete
+ // navigation chrome is shorter than the old generic 50-character
+ // heuristic while still proving the application rendered.
+ .toBeGreaterThan(20);
});
}
});
diff --git a/app/test/playwright/specs/settings-account-preferences.spec.ts b/app/test/playwright/specs/settings-account-preferences.spec.ts
index 1bcd2e57cf..53b4c3b6fe 100644
--- a/app/test/playwright/specs/settings-account-preferences.spec.ts
+++ b/app/test/playwright/specs/settings-account-preferences.spec.ts
@@ -149,7 +149,7 @@ test.describe('Settings - Account Preferences', () => {
test('opens the billing route and settles the redirect status copy', async ({ page }) => {
await gotoSettingsRoute(page, '/settings/billing');
- await expect(page.getByRole('heading', { name: 'Open billing dashboard' })).toBeVisible();
+ await expect(page.getByRole('heading', { name: 'Billing' })).toBeVisible();
// Billing no longer auto-opens the browser; the panel explains billing
// moved to the web and offers an explicit open button.
await expect(