feat: 管理后台接真实接口并加 Playwright e2e

This commit is contained in:
Nixevol
2026-09-30 09:20:01 +08:00
parent a22912d95a
commit b75b67928b
24 changed files with 1299 additions and 71 deletions
+4 -1
View File
@@ -10,7 +10,9 @@
"typecheck": "vue-tsc -b --noEmit",
"lint": "eslint .",
"test": "vitest run",
"test:watch": "vitest"
"test:watch": "vitest",
"test:e2e": "playwright test",
"test:e2e:install": "playwright install chromium"
},
"dependencies": {
"naive-ui": "^2.43.1",
@@ -20,6 +22,7 @@
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@playwright/test": "^1.55.1",
"@types/node": "^26.6.3",
"@vitejs/plugin-vue": "^6.0.1",
"@vue/test-utils": "^2.5.1",