feat(登录): 添加路由守卫和异步导航处理

fix(表单验证): 为用户、角色和菜单管理添加表单验证规则

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

refactor(数据库): 移除Flyway配置并更新数据源配置
This commit is contained in:
张翔
2026-03-27 14:40:55 +08:00
parent af44c23f21
commit a05368d306
9 changed files with 168 additions and 58 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ export class LoginPage {
console.log('Clicked login button');
try {
await this.page.waitForURL('**/dashboard', { timeout: 10000 });
await this.page.waitForURL('**/dashboard', { timeout: 30000 });
console.log('Successfully navigated to dashboard');
await this.page.waitForLoadState('networkidle');
console.log('Network idle achieved');