Files
personal-website/playwright.auth.config.ts
Stan Runge d0c7b6548b
Some checks failed
Test and deploy staging / staging (push) Has been cancelled
beeeeg update
2026-09-23 04:16:50 +00:00

15 lines
444 B
TypeScript

import { defineConfig } from '@playwright/test';
process.env.AUTH_E2E = '1';
export default defineConfig({
testDir: 'tests',
testMatch: 'auth.test.ts',
workers: 1,
use: { baseURL: 'http://127.0.0.1:4174' },
webServer: {
command: 'npm run dev -- --host 127.0.0.1 --port 4174 --strictPort',
url: 'http://127.0.0.1:4174/login',
env: { ORIGIN: 'http://127.0.0.1:4174', BETTER_AUTH_URL: 'http://127.0.0.1:4174' },
timeout: 60000
}
});