feat: 添加管理后台页面和功能,优化测试和性能配置
refactor: 重构页面导航和滚动逻辑,提升用户体验 test: 更新测试配置和用例,增加覆盖率和稳定性 perf: 优化性能指标和阈值,适应开发环境需求 ci: 添加Lighthouse CI工作流,集成性能测试 docs: 更新API文档和健康检查端点 fix: 修复登录页面和表单提交问题 style: 调整响应式布局和可访问性改进 chore: 更新依赖项和脚本配置
This commit is contained in:
@@ -17,8 +17,9 @@ export class AdminLoginPage extends BasePage {
|
||||
|
||||
async goto() {
|
||||
await this.navigate('/admin/login');
|
||||
await this.waitForLoadState('networkidle');
|
||||
await this.emailInput.waitFor({ state: 'visible', timeout: 10000 });
|
||||
await this.page.waitForLoadState('domcontentloaded', { timeout: 30000 });
|
||||
await this.page.waitForTimeout(1000);
|
||||
await this.emailInput.waitFor({ state: 'visible', timeout: 20000 });
|
||||
}
|
||||
|
||||
async login(email: string, password: string) {
|
||||
|
||||
Reference in New Issue
Block a user