fix: resolve UAT test issues and improve test infrastructure

This commit is contained in:
张翔
2026-03-25 10:21:47 +08:00
parent f0efbaeabd
commit 6c35ba7fb4
7 changed files with 202 additions and 4 deletions
+4 -1
View File
@@ -1,7 +1,10 @@
import { defineConfig, devices } from '@playwright/test';
import dotenv from 'dotenv';
dotenv.config();
export default defineConfig({
testDir: './uat-tests/scenarios',
testDir: './scenarios',
fullyParallel: true,
forbidOnly: !!process.env.CI,
retries: process.env.CI ? 2 : 0,