feat(GOV-009): 建立 Vue 前端工程基线

This commit is contained in:
2026-08-13 16:42:25 +08:00
parent 258a2d21f6
commit 28d54186ad
27 changed files with 3909 additions and 14 deletions
+28
View File
@@ -0,0 +1,28 @@
import { defineConfig } from '@playwright/test';
export default defineConfig({
testDir: './tests',
fullyParallel: false,
retries: 0,
reporter: 'list',
use: {
baseURL: 'http://127.0.0.1:5173',
trace: 'retain-on-failure',
},
webServer: {
command: 'env -u NO_COLOR pnpm dev',
url: 'http://127.0.0.1:5173',
reuseExistingServer: false,
timeout: 30_000,
},
projects: [
{
name: 'desktop-chromium',
use: { browserName: 'chromium', viewport: { width: 1440, height: 900 } },
},
{
name: 'mobile-chromium',
use: { browserName: 'chromium', viewport: { width: 390, height: 844 } },
},
],
});