package.json 682 B

12345678910111213141516171819202122
  1. {
  2. "name": "dashboard-test",
  3. "version": "1.0.0",
  4. "private": true,
  5. "description": "dashboard-v6 的 Playwright 端到端测试",
  6. "type": "module",
  7. "scripts": {
  8. "test": "playwright test",
  9. "test:ui": "playwright test --ui",
  10. "test:headed": "playwright test --headed",
  11. "test:channel": "playwright test channel",
  12. "test:users": "playwright test users",
  13. "test:discussion": "playwright test discussion",
  14. "test:course": "playwright test course",
  15. "report": "playwright show-report",
  16. "codegen": "playwright codegen http://127.0.0.1:4000/pcd-v2026"
  17. },
  18. "devDependencies": {
  19. "@playwright/test": "^1.62.1",
  20. "@types/node": "^24.10.1"
  21. }
  22. }