mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 12:32:43 +00:00
test(e2e): count the Google Health status pill on the integrations page
This commit is contained in:
1 parent
c2bffe9c60
commit
951a8cf9ea
1 file changed
+3
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user