Build MerchantFlow onboarding CRM foundation
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
import { defineConfig } from '@playwright/test';
|
||||
export default defineConfig({
|
||||
testDir: './tests',
|
||||
fullyParallel: false,
|
||||
workers: 1,
|
||||
timeout: 45000,
|
||||
expect: { timeout: 10000 },
|
||||
reporter: [['list'], ['html', { open: 'never' }]],
|
||||
use: {
|
||||
baseURL: 'http://127.0.0.1:5174',
|
||||
trace: 'retain-on-failure',
|
||||
screenshot: 'only-on-failure',
|
||||
browserName: 'chromium',
|
||||
},
|
||||
webServer: {
|
||||
command: 'node scripts/serve-e2e.mjs',
|
||||
url: 'http://127.0.0.1:5174/api/health',
|
||||
reuseExistingServer: false,
|
||||
timeout: 90000,
|
||||
gracefulShutdown: { signal: 'SIGTERM', timeout: 5000 },
|
||||
env: { API_PORT: '3002', WEB_PORT: '5174', APP_ORIGIN: 'http://127.0.0.1:5174' },
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user