From 951a8cf9eada7c0ea864af925495bcd5008ef4ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Sat, 4 Jul 2026 14:26:36 +0200 Subject: [PATCH] test(e2e): count the Google Health status pill on the integrations page --- e2e/settings-integrations-mobile.spec.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/e2e/settings-integrations-mobile.spec.ts b/e2e/settings-integrations-mobile.spec.ts index 37f199529..9c2125dfd 100644 --- a/e2e/settings-integrations-mobile.spec.ts +++ b/e2e/settings-integrations-mobile.spec.ts @@ -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