Some checks failed
Test and deploy staging / staging (push) Has been cancelled
15 lines
444 B
TypeScript
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
|
|
}
|
|
});
|