From 1e162553730296e537feeb6be57c4a5cc5be7cae Mon Sep 17 00:00:00 2001 From: stroblme Date: Fri, 21 Aug 2026 14:34:14 +0200 Subject: [PATCH] Take the mobile fixture's dashboard from the create call A new dashboard is a draft, so reading it back published answers 404. The POST already returns the document. Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_01Uq8mtNb97A7praJLyeEYgs --- frontend/tests/mobile.spec.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/tests/mobile.spec.ts b/frontend/tests/mobile.spec.ts index 2be33c3..242d07c 100644 --- a/frontend/tests/mobile.spec.ts +++ b/frontend/tests/mobile.spec.ts @@ -171,9 +171,8 @@ test.beforeAll(async ({ browser }) => { }, }) - await api(page, `/dashboards/${dashboardName}`, { method: "POST" }) const dashboard = await ( - await api(page, `/dashboards/${dashboardName}`) + await api(page, `/dashboards/${dashboardName}`, { method: "POST" }) ).json() dashboard.pages[0].sections[0].widgets = [ {