test: 添加浏览器烟测套件 (#750)

* test: add Playwright browser smoke suite

* Update playwright.yml

---------

Co-authored-by: ekko <152005280+EKKOLearnAI@users.noreply.github.com>
This commit is contained in:
Zhicheng Han
2026-05-15 11:35:10 +02:00
committed by GitHub
parent e0bfa828cb
commit 97b15d6514
7 changed files with 339 additions and 1 deletions
+4 -1
View File
@@ -43,6 +43,8 @@
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"test:e2e": "playwright test",
"test:e2e:ui": "playwright test --ui",
"dev:website": "vite --config vite.config.website.ts",
"build:website": "vite build --config vite.config.website.ts",
"preview:website": "vite preview --config vite.config.website.ts",
@@ -67,6 +69,7 @@
"@koa/router": "^15.4.0",
"@multiavatar/multiavatar": "^1.0.7",
"@pinia/testing": "^1.0.3",
"@playwright/test": "^1.60.0",
"@types/eventsource": "^1.1.15",
"@types/js-yaml": "^4.0.9",
"@types/koa": "^2.15.0",
@@ -116,4 +119,4 @@
"vue-tsc": "^3.2.8",
"ws": "^8.20.0"
}
}
}