History: normalize tooltip units, add total row (#32262)

This commit is contained in:
Michael Geers 2026-07-29 14:39:31 +02:00 • committed by GitHub
parent 03a8c744d0
commit ce75e49192
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 81 additions and 39 deletions

View file

@ -26,8 +26,8 @@ test("tooltip shows one merged grid entity", async ({ page }) => {
const tooltip = chart.locator("table");
await expect(tooltip).toBeVisible();
// single unnamed row, no per-entity rows
// single unnamed row, no per-entity rows; one unit across both columns
await expect(tooltip).toHaveText(
["12:00 – 12:15", "imported", "exported", "2.0 kW", "400 W"].join("")
["12:00 – 12:15", "imported", "exported", "2.0 kW", "0.4 kW"].join("")
);
});