bcc93e5c03
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.
23 lines
821 B
TypeScript
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' },
|
|
]
|