test(e2e): point doctor-report specs at the v1.4.37 hero-card testids

v1.4.37 lifted the doctor-report card from the export-tile grid to a
hero block on the export page; the test-ids renamed from
`export-card-doctor-report` / `export-action-doctor-report` to
`export-hero-doctor-report` / `export-hero-doctor-report-action`.
The Playwright suite still targeted the old ids and timed out on
every run since. Updates the two affected specs.
This commit is contained in:
Marc-André Bombeck committed 2026-05-17 23:55:52 +02:00
1 parent 61208da6ec
commit 6ea1c77532
2 files changed
+8 -4

No files matched your search

+4 -1
View File
@@ -22,8 +22,11 @@ test.describe("Settings → Export", () => {
page,
}) => {
await page.goto("/settings/export", { waitUntil: "domcontentloaded" });
// v1.4.37 lifted the doctor-report card to a hero block with the
// `export-hero-*` testid prefix; the four CSV/backup tiles keep
// the `export-card-*` shape.
for (const id of [
"export-card-doctor-report",
"export-hero-doctor-report",
"export-card-measurements-csv",
"export-card-medications-csv",
"export-card-mood-csv",