You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
1 month ago | |
|---|---|---|
| .. | ||
| EXECUTION_GUIDE.md | 1 month ago | |
| QUICKSTART.md | 1 month ago | |
| README.md | 1 month ago | |
| check-services.cjs | 1 month ago | |
| check-services.js | 1 month ago | |
| config.ts | 1 month ago | |
| dashboard.e2e.test.ts | 1 month ago | |
| dashboard.test.ts | 1 month ago | |
| file-management.e2e.test.ts | 1 month ago | |
| index.ts | 1 month ago | |
| login.test.ts | 1 month ago | |
| mcp-executor.ts | 1 month ago | |
| menu-role-org.e2e.test.ts | 1 month ago | |
| navigation.test.ts | 1 month ago | |
| rbac.e2e.test.ts | 1 month ago | |
| run-e2e-tests.ts | 1 month ago | |
| run-tests.bat | 1 month ago | |
| runner.ts | 1 month ago | |
| settings.e2e.test.ts | 1 month ago | |
| settings.test.ts | 1 month ago | |
| theme.e2e.test.ts | 1 month ago | |
| users.e2e.test.ts | 1 month ago | |
| users.test.ts | 1 month ago | |
README.md
Playwright MCP 测试
本测试套件使用 Playwright MCP 工具进行端到端测试。
前置条件
- 启动后端服务:
cd backend && go run main.go - 启动前端开发服务器:
cd frontend/react-shadcn/pc && npm run dev - 确保 MCP Playwright 工具已配置
测试场景
- 登录/登出流程
- 仪表板页面验证
- 用户管理 CRUD
- 设置页面验证
- 导航和路由保护
运行测试
通过 Claude Code 的 MCP Playwright 工具手动执行测试步骤。