MotirBuilding in public
MOTIR · moooon
onMotir
You’re viewing a public project. Anyone can view it — no account needed. Sign in to submit, upvote, or comment on requests.View-only — you can’t edit work items
MOTIR-1350

E2E flake: dashboards.spec.ts:206 (drag/reload persists) returns non-200 in bulk-2 shard

Done
Description

Inherited E2E flake (found during MOTIR-1336 CI). tests/e2e/dashboards.spec.ts:206 ("create a workspace dashboard, add three widgets, switch layout, drag, reload persists") fails intermittently in the Playwright E2E (bulk-2) shard with expect(received).toBe(200) (dashboard layout-save status != 200), failing BOTH the original attempt and retry #1.

Pre-existing, not from any one PR: main FAILED this exact bulk-2 job at commit 73863235 (run 28167896401) and went green on c089bdea. Surfaced on PR #1414 (MOTIR-1336), whose diff is purely additive backend (Plan/PlanItem) — no dashboard/route/UI code.

Class: drag->reload->persist optimistic surface returning non-200 under a loaded CI box (E2E-authoritative-signal flake). Fix: await the layout-save response (status + committed state) before reload/assert. A main flake reds every open PR's bulk-2 under merge-with-main CI.