mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-09 13:01:00 +00:00
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.
This commit is contained in:
1 parent
c26f21fb4f
commit
25d7a01d9d
1 file changed
+7
-3
@@ -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"),
|
||||
|
||||
Reference in new issue
Block a user