diff --git a/apps/web/cypress/e2e/layout.cy.ts b/apps/web/cypress/e2e/layout.cy.ts index 953f197..1f2f8b6 100644 --- a/apps/web/cypress/e2e/layout.cy.ts +++ b/apps/web/cypress/e2e/layout.cy.ts @@ -132,7 +132,7 @@ describe("Page width — full-bleed pages vs. centered reading columns (#21 regr cy.viewport(1600, 900); }); - it("stretches the planning page and recipe catalog across the full content width", () => { + it("stretches the planning page, recipe catalog, and settings pages across the full content width", () => { cy.intercept("GET", /\/planning\?/, { statusCode: 200, body: null }); cy.visit("/"); assertFillsContentWidth(".planning-page"); @@ -141,14 +141,17 @@ describe("Page width — full-bleed pages vs. centered reading columns (#21 regr cy.intercept("GET", "**/profile/disliked-ingredients", { statusCode: 200, body: [] }); cy.visit("/recettes"); assertFillsContentWidth(".recipes-page"); + + // Settings pages (Compte/Préférences/Foyer) used to be capped at + // max-width: 56rem, cramped in a centered column on wide viewports — + // that cap was dropped so they fill the width like every other page. + cy.visit("/parametres/compte"); + assertFillsContentWidth(".settings-page"); }); - it("centers the Liste de courses stub and settings pages, with equal space on both sides", () => { + it("centers the Liste de courses stub, with equal space on both sides", () => { cy.visit("/liste-de-courses"); assertCenteredColumn(".coming-soon-page", 640); // max-width: 40rem - - cy.visit("/parametres/compte"); - assertCenteredColumn(".settings-page", 896); // max-width: 56rem }); /** Fills `.app-content`'s available (padding-excluded) width, within a couple px of scrollbar/rounding slack. */