feat: home screen and navigation design

This commit is contained in:
fsylvain committed 2026-09-26 17:46:42 +02:00
1 parent 30a4df47b1
commit 930b836241
24 files changed
+1774 -19

No files matched your search

+4
View File
@@ -283,6 +283,7 @@ async function captureApp(
viewport: { width, height },
colorScheme: theme,
reducedMotion: 'reduce',
...(setup.now ? { timezoneId: 'UTC' } : {}),
})
await serveIconsLocally(context)
const unmocked = new Set<string>()
@@ -301,6 +302,9 @@ async function captureApp(
await route.fulfill(fulfilment(mock))
})
const page = await context.newPage()
if (setup.now) {
await page.clock.setFixedTime(new Date(setup.now))
}
await page.goto(`${origin}${setup.path}`)
await Promise.race([page.waitForLoadState('networkidle'), page.waitForTimeout(2000)])
await setup.steps?.(page)