df645b70a7
All login-based tests share MOICEN_E2E_UNIONID and cannot run in parallel without interfering with each other's session state. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
20 lines
496 B
TypeScript
20 lines
496 B
TypeScript
import path from 'node:path';
|
|
import { config as loadEnv } from 'dotenv';
|
|
import { defineConfig } from '@playwright/test';
|
|
|
|
loadEnv({ path: path.join(__dirname, '.env.e2e') });
|
|
|
|
export default defineConfig({
|
|
testDir: './tests',
|
|
testIgnore: ['**/admin_debug.spec.ts'],
|
|
timeout: 120_000,
|
|
workers: 1,
|
|
expect: { timeout: 30_000 },
|
|
use: {
|
|
baseURL:
|
|
process.env.HUIKE_FRONT_BASE_URL || 'https://music-room.moicen.com',
|
|
trace: 'on-first-retry',
|
|
},
|
|
reporter: [['list']],
|
|
});
|