Commit Graph

10 Commits

Author SHA1 Message Date
张翔 f882599072 fix: 改进成功消息等待策略,修复测试失败问题
- 添加waitForSuccessMessage()方法到UserManagementPage和RoleManagementPage
- 改进submitForm()方法,添加等待时间
- 更新测试用例使用新的等待方法
- 增加错误消息检测和日志输出
- 修复权限选择器问题(使用.el-tree替代固定value)
2026-04-04 10:03:19 +08:00
张翔 ba9cdb4b6f fix: optimize all Page Object navigation with better error handling
- MenuManagementPage: add tree/table wait and error handling
- SystemConfigPage: add table wait and error handling
- DictionaryManagementPage: add table wait and error handling
- FileManagementPage: add table wait and error handling
- OperationLogPage: add table wait and error handling
- LoginLogPage: add table wait and error handling
- ExceptionLogPage: add table wait and error handling
2026-04-04 09:06:01 +08:00
张翔 167e513055 fix: optimize RoleManagementPage navigation with better error handling 2026-04-04 09:03:49 +08:00
张翔 3177ebdd7a fix: optimize UserManagementPage navigation with better error handling 2026-04-04 09:02:28 +08:00
张翔 229fb77e76 fix: correct phone field filling logic in UserManagementPage
- Fix fillUserForm method to use correct input indices
- Add localStorage cleanup in beforeEach hook
- Update all tests to use e2e_test_user account
- Add debug and simple login tests for troubleshooting

Root cause: Phone field was not being filled correctly, causing 400 error
from backend with message '手机号不能为空'
2026-04-03 19:09:45 +08:00
张翔 a05368d306 feat(登录): 添加路由守卫和异步导航处理
fix(表单验证): 为用户、角色和菜单管理添加表单验证规则

test(e2e): 增加页面导航超时时间和网络空闲等待

refactor(数据库): 移除Flyway配置并更新数据源配置
2026-03-27 14:40:55 +08:00
张翔 af44c23f21 refactor(security): 重构安全配置并优化测试环境
- 移除旧的测试套件和UAT测试文件
- 更新密码编码器配置使用BCrypt strength=12
- 添加用户角色关联表和相关服务
- 优化前端日期显示格式
- 清理无用资源和配置文件
- 增强测试数据管理和清理功能
2026-03-27 13:00:22 +08:00
张翔 e2ad1331cc feat: 添加测试框架和覆盖率报告功能
feat(测试): 新增Playwright和Vitest测试配置
feat(测试): 添加测试覆盖率报告生成功能
feat(测试): 实现前后端测试脚本集成

fix(测试): 修复测试密码不匹配问题
fix(测试): 修正URL等待策略
fix(测试): 调整错误消息选择器

refactor(测试): 重构测试目录结构
refactor(测试): 优化测试用例组织方式

docs: 更新测试报告文档
docs: 添加测试覆盖率报告模板

ci: 添加Docker测试环境配置
ci: 实现测试自动化脚本

chore: 更新依赖版本
chore: 添加测试相关配置文件
2026-03-25 09:03:37 +08:00
张翔 be5d5ede90 feat: 添加异常日志功能并优化UI样式
refactor: 重构后端查询逻辑和API响应处理

fix: 修复用户角色更新和文件上传问题

test: 添加前端性能测试脚本和E2E测试用例

chore: 更新依赖版本和配置文件

docs: 添加环境检查脚本和测试文档

style: 统一表格标签样式和路由命名

perf: 优化前端页面加载速度和响应时间
2026-03-24 13:32:20 +08:00
张翔 8a0cd64829 feat: extend operation log service and repository with pagination support 2026-03-18 22:34:43 +08:00