Files
F-r-ldraledigplannerare/frontend/e2e/support/pages.ts
T
jacobh2 bcc93e5c03 Test the two gestures the rework is actually about
The browser suite checked what the app renders but nothing about authoring,
which is the part that changed. It now registers a fresh account and walks
the wizard, including the case where a partner added mid-wizard has to appear
by name without navigating away first, and it drags a range on the calendar,
deletes the period, and reloads to confirm the days really went. Both are
regressions that were found by hand within the last day and would have been
found here instead.

Doing this surfaced that the age-four spec had been asserting on figures that
moved inside a collapsed section, so it had stopped checking anything. The
stale note about the retired tips page went too.
2026-09-18 00:50:01 +02:00

23 lines
821 B
TypeScript

export interface MainPage {
path: string
testId: string
name: string
}
/**
* The authenticated pages scanned by the "no raw UUIDs" and "no console
* errors" guards.
*
* Plan and Tips were removed as standalone pages/tabs (leave is now
* authored directly on the calendar, and Översikt carries the headline
* figures); `/plan` and `/tips` now fall through App.tsx's catch-all route
* and redirect to `/` instead of rendering a page. That redirect is covered
* at the unit level in `src/App.test.tsx` ("retired /plan and /tips
* routes"), so neither belongs in this list.
*/
export const MAIN_PAGES: MainPage[] = [
{ path: '/', testId: 'dashboard', name: 'Dashboard' },
{ path: '/calendar', testId: 'calendar', name: 'Calendar' },
{ path: '/settings', testId: 'settings-page', name: 'Settings' },
]