From 25d7a01d9dbc2e4440f165830638fcc9f6c69fd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Thu, 22 Oct 2026 02:31:55 +0200 Subject: [PATCH] test(e2e): expect the two HRV rows in the standard report set The standard template carries SDNN and RMSSD since the wearable leaves landed, and the cardio group has fifteen leaves. Assert the untouched mobility group at zero instead. --- e2e/settings-export.spec.ts | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/e2e/settings-export.spec.ts b/e2e/settings-export.spec.ts index 8fb99c4b2..4374d8594 100644 --- a/e2e/settings-export.spec.ts +++ b/e2e/settings-export.spec.ts @@ -149,8 +149,9 @@ test.describe("Settings → Export & Import", () => { await page.getByTestId("report-apply-standard-export").click(); await expect(generate).toBeEnabled(); - // Exactly the shipped set: the three classic vitals, weight and BMI, and - // nothing at all from the groups the template leaves alone. + // Exactly the shipped set: the three classic vitals, weight and BMI, the + // two heart-rate-variability rows, and nothing at all from the groups the + // template leaves alone. await expect( page.getByTestId("report-group-row-vitals-export"), ).toContainText("3/7"); @@ -159,7 +160,10 @@ test.describe("Settings → Export & Import", () => { ).toContainText("2/12"); await expect( page.getByTestId("report-group-row-cardio-export"), - ).toContainText("0/14"); + ).toContainText("2/15"); + await expect( + page.getByTestId("report-group-row-mobility-export"), + ).toContainText("0/11"); // The fenced tier is not part of any one-click set. await expect( page.getByTestId("report-scope-summary-export"),