mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-19 13:36:48 +00:00
af9710c618
The wiki pictures of the trip are taken again with the fixtures the help guides use, so the Bookings tab shows a booking of every kind, Files has documents and What's Next has something ahead. New pictures: the map's hover card, the Subscribe to calendar dialog, the PDF preview, the To-Do view, and the Transports tab's own timeline and booking detail. Day selection in the screenshot run clicks the day's number, now that the middle of a day header is the booked night. Home, Real-Time Collaboration, Road Trip, Map Features and the bookings page are brought in line with the rewritten pages, and sixteen assets no page uses any more (mostly old GIFs, 22 MB) are removed.
23 lines
1.0 KiB
TypeScript
23 lines
1.0 KiB
TypeScript
import { test as setup } from '@playwright/test'
|
|
import {
|
|
ensureBookingsFixtures, ensureCollabFixtures, ensureDayDetailFixtures, ensureFilesFixtures,
|
|
ensureListsFixtures, ensureMapFixtures, ensureTransportFixtures,
|
|
} from '../help/fixtures'
|
|
|
|
/**
|
|
* The demo trip as the wiki pictures show it: the seed plus the fixtures the help
|
|
* guides add, so the Bookings tab holds a booking of every kind, Files has
|
|
* documents, Collab has links and What's Next something ahead, and the days carry
|
|
* their stays and transports. Its own project between the seed and the capture:
|
|
* the help-media run adds these per guide and has to start from the bare seed.
|
|
*/
|
|
setup('fill the demo trip for the wiki pictures', async ({ page }) => {
|
|
await ensureDayDetailFixtures(page.request)
|
|
await ensureBookingsFixtures(page.request)
|
|
await ensureTransportFixtures(page.request)
|
|
await ensureMapFixtures(page.request)
|
|
await ensureFilesFixtures(page.request)
|
|
await ensureListsFixtures(page.request)
|
|
await ensureCollabFixtures(page.request)
|
|
})
|