mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 00:49:44 +00:00
Handle waiting list error. (#1165)
This commit is contained in:
@@ -116,13 +116,22 @@ class MockScreen: Identifiable {
|
||||
navigationStackCoordinator.setRootCoordinator(coordinator)
|
||||
return navigationStackCoordinator
|
||||
case .softLogout:
|
||||
let credentials = SoftLogoutScreenCredentials(userId: "@mock:matrix.org",
|
||||
let credentials = SoftLogoutScreenCredentials(userID: "@mock:matrix.org",
|
||||
homeserverName: "matrix.org",
|
||||
userDisplayName: "mock",
|
||||
deviceId: "ABCDEFGH")
|
||||
deviceID: "ABCDEFGH")
|
||||
return SoftLogoutScreenCoordinator(parameters: .init(authenticationService: MockAuthenticationServiceProxy(),
|
||||
credentials: credentials,
|
||||
keyBackupNeeded: false))
|
||||
case .waitlist:
|
||||
let credentials = WaitlistScreenCredentials(username: "alice",
|
||||
password: "password",
|
||||
initialDeviceName: nil,
|
||||
deviceID: nil,
|
||||
homeserver: .mockMatrixDotOrg)
|
||||
return WaitlistScreenCoordinator(parameters: .init(credentials: credentials,
|
||||
authenticationService: MockAuthenticationServiceProxy(),
|
||||
userIndicatorController: UserIndicatorControllerMock.default))
|
||||
case .simpleRegular:
|
||||
return TemplateScreenCoordinator(parameters: .init(promptType: .regular))
|
||||
case .simpleUpgrade:
|
||||
|
||||
@@ -24,6 +24,7 @@ enum UITestsScreenIdentifier: String {
|
||||
case serverSelectionNonModal
|
||||
case authenticationFlow
|
||||
case softLogout
|
||||
case waitlist
|
||||
case analyticsPrompt
|
||||
case analyticsSettingsScreen
|
||||
case simpleRegular
|
||||
|
||||
Reference in New Issue
Block a user