Add visual regression coverage

This commit is contained in:
2026-05-25 10:17:07 -04:00
parent 10729a906c
commit 571edb9b5a
18 changed files with 278 additions and 4 deletions

View File

@@ -0,0 +1,24 @@
import { test } from '@playwright/test'
import {
gotoDataLibraryReady,
gotoLiveEmptyReady,
gotoRaceHubReady,
screenshotPage,
} from './helpers'
test.describe('MVP visual regression', () => {
test('race-hub', async ({ page }) => {
await gotoRaceHubReady(page)
await screenshotPage(page, 'race-hub')
})
test('data-library', async ({ page }) => {
await gotoDataLibraryReady(page)
await screenshotPage(page, 'data-library')
})
test('live-empty', async ({ page }) => {
await gotoLiveEmptyReady(page)
await screenshotPage(page, 'live')
})
})