feat: Playwright against deployed music-room (shell + optional unionid chain)
No Rust/Compose; GitHub Actions with MOICEN_E2E_UNIONID secret; dotenv .env.e2e; proxy install script. Made-with: Cursor
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
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',
|
||||
timeout: 120_000,
|
||||
expect: { timeout: 30_000 },
|
||||
use: {
|
||||
baseURL:
|
||||
process.env.HUIKE_FRONT_BASE_URL || 'https://music-room.moicen.com',
|
||||
trace: 'on-first-retry',
|
||||
},
|
||||
reporter: [['list']],
|
||||
});
|
||||
Reference in New Issue
Block a user