test: Playwright E2E测试12个用例全部通过!

- 修复登录按钮选择器:'登 录'(带空格)
- 修复placeholder:'账号'/'密码'
- 修复登录失败检测逻辑
- 12/12用例通过,耗时16.9秒
- 覆盖:登录4场景 + Bug回归3个(#437/#443/#427) + 手术计费2个 + 医生站2个 + 并发1个
This commit is contained in:
2026-04-25 22:33:53 +08:00
parent 8fb1d3e583
commit bbd9d48fa6
3 changed files with 11 additions and 5 deletions

View File

@@ -28,7 +28,7 @@ export class LoginPage {
await this.page.waitForTimeout(500);
}
}
await this.page.click('button:has-text("登录")');
await this.page.click('button:has-text("登 录")');
await this.page.waitForLoadState('networkidle');
}