mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-17 07:42:23 +00:00
fix(settings): raise the Google Health tag contrast and update the integration-count assertion
The Fitbit & Pixel tag chip paired muted text on a muted background (below WCAG AA); use foreground text. Update the mobile integrations e2e to expect the fourth integration card (Google Health).
This commit is contained in:
1 parent
554d97ec95
commit
3186ecbe67
2 files changed
+4
-3
No files matched your search
@@ -127,8 +127,9 @@ test.describe("/settings/integrations Pixel-5 layout", () => {
|
||||
|
||||
// Wait for the pills to mount (queries resolve after first paint).
|
||||
const pills = page.locator('[data-testid="integration-status-pill"]');
|
||||
// Three integration cards now (Withings, moodLog, WHOOP) → three pills.
|
||||
await expect(pills).toHaveCount(3, { timeout: 10_000 });
|
||||
// Four integration cards now (Withings, moodLog, WHOOP, Google Health) →
|
||||
// four pills.
|
||||
await expect(pills).toHaveCount(4, { timeout: 10_000 });
|
||||
|
||||
// Withings + moodLog are connected in this fixture; WHOOP is a BYO-keys
|
||||
// card that stays dormant until an operator adds credentials, so assert
|
||||
|
||||
Reference in new issue
Block a user