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.
 
 
 
 
 
 
dark c35a337695 fix: 修复文件上传按钮无响应和登录错误无提示两个 bug 1 month ago
..
EXECUTION_GUIDE.md feat: integrate real APIs for Dashboard, Settings and UserManagement pages 1 month ago
QUICKSTART.md feat: integrate real APIs for Dashboard, Settings and UserManagement pages 1 month ago
README.md test: add Playwright MCP test configuration and documentation 1 month ago
check-services.cjs feat: integrate real APIs for Dashboard, Settings and UserManagement pages 1 month ago
check-services.js feat: integrate real APIs for Dashboard, Settings and UserManagement pages 1 month ago
config.ts chore: update test config for account-based login 1 month ago
dashboard.e2e.test.ts feat: 仪表盘对接后端 API,添加仪表盘 E2E 测试 1 month ago
dashboard.test.ts test: add dashboard page Playwright MCP tests 1 month ago
file-management.e2e.test.ts fix: 修复文件上传按钮无响应和登录错误无提示两个 bug 1 month ago
index.ts feat: 仪表盘对接后端 API,添加仪表盘 E2E 测试 1 month ago
login.test.ts test: add login page Playwright MCP tests 1 month ago
mcp-executor.ts feat: integrate real APIs for Dashboard, Settings and UserManagement pages 1 month ago
navigation.test.ts test: add navigation and route protection Playwright MCP tests 1 month ago
run-e2e-tests.ts feat: 仪表盘对接后端 API,添加仪表盘 E2E 测试 1 month ago
run-tests.bat feat: integrate real APIs for Dashboard, Settings and UserManagement pages 1 month ago
runner.ts feat: integrate real APIs for Dashboard, Settings and UserManagement pages 1 month ago
settings.test.ts test: add settings page Playwright MCP tests 1 month ago
users.e2e.test.ts feat: 仪表盘对接后端 API,添加仪表盘 E2E 测试 1 month ago
users.test.ts test: add user management page Playwright MCP tests 1 month ago

README.md

Playwright MCP 测试

本测试套件使用 Playwright MCP 工具进行端到端测试。

前置条件

  1. 启动后端服务: cd backend && go run main.go
  2. 启动前端开发服务器: cd frontend/react-shadcn/pc && npm run dev
  3. 确保 MCP Playwright 工具已配置

测试场景

  • 登录/登出流程
  • 仪表板页面验证
  • 用户管理 CRUD
  • 设置页面验证
  • 导航和路由保护

运行测试

通过 Claude Code 的 MCP Playwright 工具手动执行测试步骤。