From de47cb7b31b8c10c43964dee5ba1045bcb1eb155 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Wed, 4 Nov 2026 11:15:03 +0100 Subject: [PATCH] test(analytics): list the Garmin and training types in the parity goldens --- .../analytics.02-summaries-cold.json.snap | 62 ++++++++++++++++++- .../analytics.03-summaries-warm.json.snap | 62 ++++++++++++++++++- .../analytics.04-default-cold.json.snap | 62 ++++++++++++++++++- .../analytics.05-default-warm.json.snap | 62 ++++++++++++++++++- ...alytics.06-summaries-modules-off.json.snap | 62 ++++++++++++++++++- ...cs.07-default-de-personal-target.json.snap | 62 ++++++++++++++++++- .../analytics.08-empty-account.json.snap | 62 ++++++++++++++++++- 7 files changed, 427 insertions(+), 7 deletions(-) diff --git a/tests/integration/routes/parity/__snapshots__/analytics.02-summaries-cold.json.snap b/tests/integration/routes/parity/__snapshots__/analytics.02-summaries-cold.json.snap index f4c49c6c7..6024670bf 100644 --- a/tests/integration/routes/parity/__snapshots__/analytics.02-summaries-cold.json.snap +++ b/tests/integration/routes/parity/__snapshots__/analytics.02-summaries-cold.json.snap @@ -1287,6 +1287,62 @@ "slope30": null, "avg30LastMonth": null, "avg30LastYear": null + }, + "BODY_BATTERY": { + "count": 0, + "latest": null, + "min": null, + "max": null, + "mean": null, + "median": null, + "avg7": null, + "avg30": null, + "slope7": null, + "slope30": null, + "avg30LastMonth": null, + "avg30LastYear": null + }, + "STRESS_LEVEL": { + "count": 0, + "latest": null, + "min": null, + "max": null, + "mean": null, + "median": null, + "avg7": null, + "avg30": null, + "slope7": null, + "slope30": null, + "avg30LastMonth": null, + "avg30LastYear": null + }, + "TRAINING_READINESS": { + "count": 0, + "latest": null, + "min": null, + "max": null, + "mean": null, + "median": null, + "avg7": null, + "avg30": null, + "slope7": null, + "slope30": null, + "avg30LastMonth": null, + "avg30LastYear": null + }, + "ACUTE_TRAINING_LOAD": { + "count": 0, + "latest": null, + "min": null, + "max": null, + "mean": null, + "median": null, + "avg7": null, + "avg30": null, + "slope7": null, + "slope30": null, + "avg30LastMonth": null, + "avg30LastYear": null } }, "bmi": null, @@ -1409,7 +1465,11 @@ "AFIB_BURDEN": null, "INDOOR_CO2": null, "INDOOR_TEMPERATURE": null, - "INDOOR_HUMIDITY": null + "INDOOR_HUMIDITY": null, + "BODY_BATTERY": null, + "STRESS_LEVEL": null, + "TRAINING_READINESS": null, + "ACUTE_TRAINING_LOAD": null }, "sleepSourceDiscrepancy": null, "recoveryEmpty": "general" diff --git a/tests/integration/routes/parity/__snapshots__/analytics.03-summaries-warm.json.snap b/tests/integration/routes/parity/__snapshots__/analytics.03-summaries-warm.json.snap index 08cc16339..2b513bcba 100644 --- a/tests/integration/routes/parity/__snapshots__/analytics.03-summaries-warm.json.snap +++ b/tests/integration/routes/parity/__snapshots__/analytics.03-summaries-warm.json.snap @@ -1287,6 +1287,62 @@ "slope30": null, "avg30LastMonth": null, "avg30LastYear": null + }, + "BODY_BATTERY": { + "count": 0, + "latest": null, + "min": null, + "max": null, + "mean": null, + "median": null, + "avg7": null, + "avg30": null, + "slope7": null, + "slope30": null, + "avg30LastMonth": null, + "avg30LastYear": null + }, + "STRESS_LEVEL": { + "count": 0, + "latest": null, + "min": null, + "max": null, + "mean": null, + "median": null, + "avg7": null, + "avg30": null, + "slope7": null, + "slope30": null, + "avg30LastMonth": null, + "avg30LastYear": null + }, + "TRAINING_READINESS": { + "count": 0, + "latest": null, + "min": null, + "max": null, + "mean": null, + "median": null, + "avg7": null, + "avg30": null, + "slope7": null, + "slope30": null, + "avg30LastMonth": null, + "avg30LastYear": null + }, + "ACUTE_TRAINING_LOAD": { + "count": 0, + "latest": null, + "min": null, + "max": null, + "mean": null, + "median": null, + "avg7": null, + "avg30": null, + "slope7": null, + "slope30": null, + "avg30LastMonth": null, + "avg30LastYear": null } }, "bmi": null, @@ -1409,7 +1465,11 @@ "AFIB_BURDEN": null, "INDOOR_CO2": null, "INDOOR_TEMPERATURE": null, - "INDOOR_HUMIDITY": null + "INDOOR_HUMIDITY": null, + "BODY_BATTERY": null, + "STRESS_LEVEL": null, + "TRAINING_READINESS": null, + "ACUTE_TRAINING_LOAD": null }, "sleepSourceDiscrepancy": null, "recoveryEmpty": "general" diff --git a/tests/integration/routes/parity/__snapshots__/analytics.04-default-cold.json.snap b/tests/integration/routes/parity/__snapshots__/analytics.04-default-cold.json.snap index f077c24f2..8cfb9de3d 100644 --- a/tests/integration/routes/parity/__snapshots__/analytics.04-default-cold.json.snap +++ b/tests/integration/routes/parity/__snapshots__/analytics.04-default-cold.json.snap @@ -1287,6 +1287,62 @@ "slope30": null, "avg30LastMonth": null, "avg30LastYear": null + }, + "BODY_BATTERY": { + "count": 0, + "latest": null, + "min": null, + "max": null, + "mean": null, + "median": null, + "avg7": null, + "avg30": null, + "slope7": null, + "slope30": null, + "avg30LastMonth": null, + "avg30LastYear": null + }, + "STRESS_LEVEL": { + "count": 0, + "latest": null, + "min": null, + "max": null, + "mean": null, + "median": null, + "avg7": null, + "avg30": null, + "slope7": null, + "slope30": null, + "avg30LastMonth": null, + "avg30LastYear": null + }, + "TRAINING_READINESS": { + "count": 0, + "latest": null, + "min": null, + "max": null, + "mean": null, + "median": null, + "avg7": null, + "avg30": null, + "slope7": null, + "slope30": null, + "avg30LastMonth": null, + "avg30LastYear": null + }, + "ACUTE_TRAINING_LOAD": { + "count": 0, + "latest": null, + "min": null, + "max": null, + "mean": null, + "median": null, + "avg7": null, + "avg30": null, + "slope7": null, + "slope30": null, + "avg30LastMonth": null, + "avg30LastYear": null } }, "bmi": 25.9, @@ -2425,7 +2481,11 @@ "AFIB_BURDEN": null, "INDOOR_CO2": null, "INDOOR_TEMPERATURE": null, - "INDOOR_HUMIDITY": null + "INDOOR_HUMIDITY": null, + "BODY_BATTERY": null, + "STRESS_LEVEL": null, + "TRAINING_READINESS": null, + "ACUTE_TRAINING_LOAD": null } }, "error": null diff --git a/tests/integration/routes/parity/__snapshots__/analytics.05-default-warm.json.snap b/tests/integration/routes/parity/__snapshots__/analytics.05-default-warm.json.snap index 90a9545cb..0c6d65c8f 100644 --- a/tests/integration/routes/parity/__snapshots__/analytics.05-default-warm.json.snap +++ b/tests/integration/routes/parity/__snapshots__/analytics.05-default-warm.json.snap @@ -1287,6 +1287,62 @@ "slope30": null, "avg30LastMonth": null, "avg30LastYear": null + }, + "BODY_BATTERY": { + "count": 0, + "latest": null, + "min": null, + "max": null, + "mean": null, + "median": null, + "avg7": null, + "avg30": null, + "slope7": null, + "slope30": null, + "avg30LastMonth": null, + "avg30LastYear": null + }, + "STRESS_LEVEL": { + "count": 0, + "latest": null, + "min": null, + "max": null, + "mean": null, + "median": null, + "avg7": null, + "avg30": null, + "slope7": null, + "slope30": null, + "avg30LastMonth": null, + "avg30LastYear": null + }, + "TRAINING_READINESS": { + "count": 0, + "latest": null, + "min": null, + "max": null, + "mean": null, + "median": null, + "avg7": null, + "avg30": null, + "slope7": null, + "slope30": null, + "avg30LastMonth": null, + "avg30LastYear": null + }, + "ACUTE_TRAINING_LOAD": { + "count": 0, + "latest": null, + "min": null, + "max": null, + "mean": null, + "median": null, + "avg7": null, + "avg30": null, + "slope7": null, + "slope30": null, + "avg30LastMonth": null, + "avg30LastYear": null } }, "bmi": 25.9, @@ -2425,7 +2481,11 @@ "AFIB_BURDEN": null, "INDOOR_CO2": null, "INDOOR_TEMPERATURE": null, - "INDOOR_HUMIDITY": null + "INDOOR_HUMIDITY": null, + "BODY_BATTERY": null, + "STRESS_LEVEL": null, + "TRAINING_READINESS": null, + "ACUTE_TRAINING_LOAD": null } }, "error": null diff --git a/tests/integration/routes/parity/__snapshots__/analytics.06-summaries-modules-off.json.snap b/tests/integration/routes/parity/__snapshots__/analytics.06-summaries-modules-off.json.snap index 7cf513ac4..b613d8eec 100644 --- a/tests/integration/routes/parity/__snapshots__/analytics.06-summaries-modules-off.json.snap +++ b/tests/integration/routes/parity/__snapshots__/analytics.06-summaries-modules-off.json.snap @@ -1137,6 +1137,62 @@ "slope30": null, "avg30LastMonth": null, "avg30LastYear": null + }, + "BODY_BATTERY": { + "count": 0, + "latest": null, + "min": null, + "max": null, + "mean": null, + "median": null, + "avg7": null, + "avg30": null, + "slope7": null, + "slope30": null, + "avg30LastMonth": null, + "avg30LastYear": null + }, + "STRESS_LEVEL": { + "count": 0, + "latest": null, + "min": null, + "max": null, + "mean": null, + "median": null, + "avg7": null, + "avg30": null, + "slope7": null, + "slope30": null, + "avg30LastMonth": null, + "avg30LastYear": null + }, + "TRAINING_READINESS": { + "count": 0, + "latest": null, + "min": null, + "max": null, + "mean": null, + "median": null, + "avg7": null, + "avg30": null, + "slope7": null, + "slope30": null, + "avg30LastMonth": null, + "avg30LastYear": null + }, + "ACUTE_TRAINING_LOAD": { + "count": 0, + "latest": null, + "min": null, + "max": null, + "mean": null, + "median": null, + "avg7": null, + "avg30": null, + "slope7": null, + "slope30": null, + "avg30LastMonth": null, + "avg30LastYear": null } }, "bmi": null, @@ -1241,7 +1297,11 @@ "AFIB_BURDEN": null, "INDOOR_CO2": null, "INDOOR_TEMPERATURE": null, - "INDOOR_HUMIDITY": null + "INDOOR_HUMIDITY": null, + "BODY_BATTERY": null, + "STRESS_LEVEL": null, + "TRAINING_READINESS": null, + "ACUTE_TRAINING_LOAD": null }, "sleepSourceDiscrepancy": null, "recoveryEmpty": "general" diff --git a/tests/integration/routes/parity/__snapshots__/analytics.07-default-de-personal-target.json.snap b/tests/integration/routes/parity/__snapshots__/analytics.07-default-de-personal-target.json.snap index 191bb9d1a..fd7861c6c 100644 --- a/tests/integration/routes/parity/__snapshots__/analytics.07-default-de-personal-target.json.snap +++ b/tests/integration/routes/parity/__snapshots__/analytics.07-default-de-personal-target.json.snap @@ -1137,6 +1137,62 @@ "slope30": null, "avg30LastMonth": null, "avg30LastYear": null + }, + "BODY_BATTERY": { + "count": 0, + "latest": null, + "min": null, + "max": null, + "mean": null, + "median": null, + "avg7": null, + "avg30": null, + "slope7": null, + "slope30": null, + "avg30LastMonth": null, + "avg30LastYear": null + }, + "STRESS_LEVEL": { + "count": 0, + "latest": null, + "min": null, + "max": null, + "mean": null, + "median": null, + "avg7": null, + "avg30": null, + "slope7": null, + "slope30": null, + "avg30LastMonth": null, + "avg30LastYear": null + }, + "TRAINING_READINESS": { + "count": 0, + "latest": null, + "min": null, + "max": null, + "mean": null, + "median": null, + "avg7": null, + "avg30": null, + "slope7": null, + "slope30": null, + "avg30LastMonth": null, + "avg30LastYear": null + }, + "ACUTE_TRAINING_LOAD": { + "count": 0, + "latest": null, + "min": null, + "max": null, + "mean": null, + "median": null, + "avg7": null, + "avg30": null, + "slope7": null, + "slope30": null, + "avg30LastMonth": null, + "avg30LastYear": null } }, "bmi": 25.9, @@ -2089,7 +2145,11 @@ "AFIB_BURDEN": null, "INDOOR_CO2": null, "INDOOR_TEMPERATURE": null, - "INDOOR_HUMIDITY": null + "INDOOR_HUMIDITY": null, + "BODY_BATTERY": null, + "STRESS_LEVEL": null, + "TRAINING_READINESS": null, + "ACUTE_TRAINING_LOAD": null } }, "error": null diff --git a/tests/integration/routes/parity/__snapshots__/analytics.08-empty-account.json.snap b/tests/integration/routes/parity/__snapshots__/analytics.08-empty-account.json.snap index 9521b5107..81028211a 100644 --- a/tests/integration/routes/parity/__snapshots__/analytics.08-empty-account.json.snap +++ b/tests/integration/routes/parity/__snapshots__/analytics.08-empty-account.json.snap @@ -1207,6 +1207,62 @@ "slope30": null, "avg30LastMonth": null, "avg30LastYear": null + }, + "BODY_BATTERY": { + "count": 0, + "latest": null, + "min": null, + "max": null, + "mean": null, + "median": null, + "avg7": null, + "avg30": null, + "slope7": null, + "slope30": null, + "avg30LastMonth": null, + "avg30LastYear": null + }, + "STRESS_LEVEL": { + "count": 0, + "latest": null, + "min": null, + "max": null, + "mean": null, + "median": null, + "avg7": null, + "avg30": null, + "slope7": null, + "slope30": null, + "avg30LastMonth": null, + "avg30LastYear": null + }, + "TRAINING_READINESS": { + "count": 0, + "latest": null, + "min": null, + "max": null, + "mean": null, + "median": null, + "avg7": null, + "avg30": null, + "slope7": null, + "slope30": null, + "avg30LastMonth": null, + "avg30LastYear": null + }, + "ACUTE_TRAINING_LOAD": { + "count": 0, + "latest": null, + "min": null, + "max": null, + "mean": null, + "median": null, + "avg7": null, + "avg30": null, + "slope7": null, + "slope30": null, + "avg30LastMonth": null, + "avg30LastYear": null } }, "bmi": null, @@ -1572,7 +1628,11 @@ "AFIB_BURDEN": null, "INDOOR_CO2": null, "INDOOR_TEMPERATURE": null, - "INDOOR_HUMIDITY": null + "INDOOR_HUMIDITY": null, + "BODY_BATTERY": null, + "STRESS_LEVEL": null, + "TRAINING_READINESS": null, + "ACUTE_TRAINING_LOAD": null } }, "error": null