24 lines
504 B
TypeScript
24 lines
504 B
TypeScript
import { defineConfig, devices } from '@playwright/test';
|
|
|
|
export default defineConfig({
|
|
testDir: './e2e',
|
|
globalSetup: './global-setup.ts',
|
|
globalTeardown: './global-teardown.ts',
|
|
fullyParallel: false,
|
|
workers: 2,
|
|
retries: 0,
|
|
timeout: 30_000,
|
|
reporter: 'list',
|
|
use: {
|
|
baseURL: 'http://localhost:3000',
|
|
storageState: './.auth/admin.json',
|
|
trace: 'on-first-retry',
|
|
},
|
|
projects: [
|
|
{
|
|
name: 'chromium',
|
|
use: { ...devices['Desktop Chrome'] },
|
|
},
|
|
],
|
|
});
|