mirror of
https://github.com/AmanTahiliani/box-box.git
synced 2026-08-07 11:54:59 -04:00
31 lines
750 B
TypeScript
31 lines
750 B
TypeScript
import { test } from '@playwright/test'
|
|
import {
|
|
gotoCommandCenterReady,
|
|
gotoDataLibraryReady,
|
|
gotoLiveEmptyReady,
|
|
gotoRaceHubReady,
|
|
screenshotPage,
|
|
} from './helpers'
|
|
|
|
test.describe('MVP visual regression', () => {
|
|
test('command-center', async ({ page }) => {
|
|
await gotoCommandCenterReady(page)
|
|
await screenshotPage(page, 'command-center')
|
|
})
|
|
|
|
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')
|
|
})
|
|
})
|