Dependency updates, clean up shared test data, create screenshot updater for README
All checks were successful
/ build (push) Successful in 4m36s
/ check-changes (push) Successful in 5s

This commit is contained in:
Djuri 2024-12-29 03:55:30 +01:00
parent 6ae7523d63
commit 1fbddd0e8d
12 changed files with 368 additions and 55 deletions

View file

@ -0,0 +1,27 @@
import { defineConfig } from '@playwright/test';
export default defineConfig({
use: {
locale: 'en-GB',
timezoneId: 'Europe/Amsterdam'
},
webServer: {
command: 'yarn build && yarn preview',
port: 4173
},
testDir: './tests/doc-screenshots',
outputDir: './test-results/screenshots',
projects: [
{
name: 'Light Mode',
use: {
viewport: { width: 1440, height: 900 },
colorScheme: 'light'
}
},
{
name: 'Dark Mode',
use: { viewport: { width: 1440, height: 900 }, colorScheme: 'dark' }
}
]
});