Skip to content

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

test(agent-review): update privacy toggle selector

Steven Enamakelf4c1e4b70aba
diff --git a/app/test/playwright/specs/agent-review.spec.ts b/app/test/playwright/specs/agent-review.spec.ts
index 5fbc86854f..277abcf836 100644
--- a/app/test/playwright/specs/agent-review.spec.ts
+++ b/app/test/playwright/specs/agent-review.spec.ts
@@ -61,7 +61,7 @@ test.describe('Agent review - canonical shell + privacy flow', () => {
await expect(page.getByTestId('settings-privacy-panel')).toBeVisible();
await expect(page.getByRole('heading', { name: 'Product Analytics' })).toBeVisible();
await expect(page.getByText('Share Product Analytics and Diagnostics')).toBeVisible();
- await expect(page.getByRole('switch').first()).toBeVisible();
+ await expect(page.getByTestId('privacy-analytics-toggle')).toBeVisible();
await attachCheckpoint(page, testInfo, '02-privacy-panel');
});
});