feat: 添加 headless 测试支持和修复接口请求页面的路径
All checks were successful
/ build-and-deploy-to-vercel (push) Successful in 3m18s
/ lint-build-and-check (push) Successful in 4m16s
/ surge (push) Successful in 2m46s
/ playwright (push) Successful in 5m34s

This commit is contained in:
严浩
2025-03-31 12:36:39 +08:00
parent 5ba87212b9
commit 6e18e0f737
3 changed files with 3 additions and 2 deletions

View File

@ -18,6 +18,7 @@
"lint:eslint": "eslint . --fix",
"prepare": "husky",
"playwright": "playwright test",
"playwright:headless": "HEADLESS=true playwright test",
"playwright:ui": "playwright test --ui",
"playwright:chromium": "playwright test --project=chromium",
"dep:dedupe": "pnpm dedupe",