Skip to content

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

test(settings): update feature preferences route testing

Steven Enamakel1f01cad2b1fb
diff --git a/app/test/playwright/specs/settings-feature-preferences.spec.ts b/app/test/playwright/specs/settings-feature-preferences.spec.ts
index 363b245c25..6c5f100003 100644
--- a/app/test/playwright/specs/settings-feature-preferences.spec.ts
+++ b/app/test/playwright/specs/settings-feature-preferences.spec.ts
@@ -170,12 +170,14 @@ function readEnabledTools(snapshot: ToolsSnapshot): string[] {
test.describe('Settings - Feature Preferences', () => {
test('falls through the retired features settings route to settings home', async ({ page }) => {
+ await openAuthenticatedRoute(page, 'pw-settings-features-route', '/settings/features');
for (const route of [
'/settings/features',
'/settings/screen-intelligence',
'/settings/screen-awareness-debug',
]) {
- await openAuthenticatedRoute(page, `pw-settings-features-${route}`, route);
+ await page.goto(`/#${route}`);
+ await waitForAppReady(page);
await expect
.poll(async () => page.evaluate(() => window.location.hash))
.toMatch(/^#\/settings(?:\/account)?$/);