补充 Auth/Tasks/ScenicPermission/Live 单元测试,并完善 UI Test 登录与会话稳定性。
移除 LoginViewModel 硬编码账号,扩展登录流程测试覆盖;调整 ZLoginSmokeUITests 执行顺序与路由直达逻辑,避免清空 Keychain 影响其它用例。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@ -33,6 +33,7 @@ enum UITestSession {
|
||||
line: UInt = #line
|
||||
) throws -> SuixinkanApp {
|
||||
sharedApp?.application.terminate()
|
||||
Thread.sleep(forTimeInterval: 1.0)
|
||||
|
||||
let relaunched = try UITestAuthenticatedSession.launchLoggedIn(
|
||||
openMenuTitle: menuTitle,
|
||||
@ -51,6 +52,7 @@ enum UITestSession {
|
||||
line: UInt = #line
|
||||
) throws -> SuixinkanApp {
|
||||
sharedApp?.application.terminate()
|
||||
Thread.sleep(forTimeInterval: 1.0)
|
||||
|
||||
let relaunched = try UITestAuthenticatedSession.launchLoggedIn(
|
||||
openProfileRoute: route,
|
||||
|
||||
Reference in New Issue
Block a user