Skip to content

armgit / TREK

Public Imported from GitHub
0

The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.

1.0 KB
Raw Blame
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)
})