Move website directory

This commit is contained in:
Aaron Po
2026-04-27 16:00:11 -04:00
parent 189bce040b
commit 5a21589029
58 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
import { defineConfig } from '@playwright/test';
const port = process.env.STORYBOOK_PORT ?? '6006';
const baseURL = process.env.STORYBOOK_URL ?? `http://127.0.0.1:${port}`;
export default defineConfig({
testDir: './tests/playwright',
timeout: 30_000,
retries: process.env.CI ? 2 : 0,
use: {
baseURL,
trace: 'on-first-retry',
},
webServer: {
command: `npm run storybook -- --ci --port ${port}`,
url: baseURL,
reuseExistingServer: true,
timeout: 120_000,
},
});