test(e2e): count the Google Health status pill on the integrations page

This commit is contained in:
Marc-André Bombeck committed 2026-07-04 14:26:36 +02:00
1 parent c2bffe9c60
commit 951a8cf9ea
1 file changed
+3 -2
+3 -2
View File
@@ -142,9 +142,10 @@ test.describe("/settings/integrations Pixel-5 layout", () => {
await page.waitForLoadState("networkidle");
// Wait for the pills to mount (queries resolve after first paint).
// One pill per card: Withings, WHOOP, Fitbit, Google Health, Polar,
// Oura, Nightscout.
const pills = page.locator('[data-testid="integration-status-pill"]');
// pills.
await expect(pills).toHaveCount(6, { timeout: 10_000 });
await expect(pills).toHaveCount(7, { timeout: 10_000 });
// Withings is connected in this fixture; WHOOP is a BYO-keys card that
// stays dormant until an operator adds credentials, so assert the one