mirror of
https://github.com/element-hq/element-android
synced 2024-11-27 11:59:12 +03:00
Fix ui test case.
This commit is contained in:
parent
2b452d6fe5
commit
236b30367f
1 changed files with 2 additions and 2 deletions
|
@ -71,13 +71,13 @@ class QrCodeLoginViewModel @AssistedInject constructor(
|
|||
// TODO. UI test purpose. Fixme remove!
|
||||
viewModelScope.launch {
|
||||
delay(3000)
|
||||
onFailed(QrCodeLoginErrorType.TIMEOUT, false)
|
||||
onFailed(QrCodeLoginErrorType.TIMEOUT, true)
|
||||
delay(3000)
|
||||
onConnectionEstablished("1234-ABCD-5678-EFGH")
|
||||
delay(3000)
|
||||
onSigningIn()
|
||||
delay(3000)
|
||||
onFailed(QrCodeLoginErrorType.DEVICE_IS_NOT_SUPPORTED, true)
|
||||
onFailed(QrCodeLoginErrorType.DEVICE_IS_NOT_SUPPORTED, false)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue