mirror of
https://github.com/AmanTahiliani/box-box.git
synced 2026-08-07 11:54:59 -04:00
Consolidate the Race Story section into a cohesive timeline surface: custom chapter-strip scrolling with active-card sync, unified segmented playback controls, chapter bands on the position graph with decimated axes and de-collided labels, map toggle gated by an on-mount replay/outline probe, and shared empty-state cards. Adds vitest coverage and visual snapshots. Note: replay/outline queries now probe on mount (not only when Map opens) so the toggle can be hidden before users hit a dead panel. Co-authored-by: Cursor <cursoragent@cursor.com>
10 lines
289 B
TypeScript
10 lines
289 B
TypeScript
import { test } from '@playwright/test'
|
|
import { gotoRaceStoryReady, screenshotPage } from './helpers'
|
|
|
|
test.describe('Race Story visual regression', () => {
|
|
test('race-story', async ({ page }) => {
|
|
await gotoRaceStoryReady(page)
|
|
await screenshotPage(page, 'race-story')
|
|
})
|
|
})
|