/** * S-series (Modo Compra) — Fase 2b.3 * * These tests describe the shopping-session UX contract for `/lists/[id]/session`. * Skipped until the route exists. Unskip one by one as the UI is implemented. */ import { test } from '@playwright/test'; test.describe.skip('Shopping session — full-screen mode (pending UI)', () => { test('S-01: /lists/[id]/session renders full-screen with no sidebar', async () => { // Given Borja is logged in and on the seed list // When he enters /lists/[id]/session // Then the app sidebar is hidden and the layout fills the viewport }); test('S-02: checking an item slides it into the CHECKED section with animation', async () => { // Given at least one unchecked item // When Borja taps its checkbox // Then the item appears in the CHECKED section and is no longer in TO BUY // (a `flip` animation is used but we only verify final state) }); test('S-03: "Finish shopping" confirms → list.status = completed → redirect to /lists', async () => { // Given a list in session with some items checked // When Borja taps "Finish shopping" and confirms // Then the URL returns to /lists and the list card shows the "completed" badge }); });