Compare commits

..

No commits in common. "99d7badddf497d8edf2cfc0474a07fd3eaf57daa" and "d4d1b9eb3a4c00aace4c8f2b5b725fd3f085065f" have entirely different histories.

View file

@ -283,13 +283,6 @@ describe("Responsive breakpoint — page content under 640px (issue #39)", () =>
// *that* switch; the day view's own day-by-day content is // *that* switch; the day view's own day-by-day content is
// PlanningPage.tsx's own spec (planning-page.cy.ts). // PlanningPage.tsx's own spec (planning-page.cy.ts).
it("shows the one-day mobile view instead of the horizontally-scrolling grid, on a phone", () => { it("shows the one-day mobile view instead of the horizontally-scrolling grid, on a phone", () => {
// `PlanningDayView` opens on *today's* weekday within the shown week
// (`defaultDayIndexForWeek`, derived from `Date`). Freeze "today" to a
// Monday so it opens on "lundi" — where the mocked recipe below is —
// instead of drifting with the real date (this test used to pass only
// when CI happened to run on a Monday, UTC). `["Date"]` only, so
// timers/debounces still run.
cy.clock(new Date("2026-08-17T09:00:00.000Z"), ["Date"]);
cy.intercept("GET", /\/planning\?/, { cy.intercept("GET", /\/planning\?/, {
statusCode: 200, statusCode: 200,
body: { body: {