Fix ui test case.
This commit is contained in:
parent
2b452d6fe5
commit
236b30367f
@ -71,13 +71,13 @@ class QrCodeLoginViewModel @AssistedInject constructor(
|
|||||||
// TODO. UI test purpose. Fixme remove!
|
// TODO. UI test purpose. Fixme remove!
|
||||||
viewModelScope.launch {
|
viewModelScope.launch {
|
||||||
delay(3000)
|
delay(3000)
|
||||||
onFailed(QrCodeLoginErrorType.TIMEOUT, false)
|
onFailed(QrCodeLoginErrorType.TIMEOUT, true)
|
||||||
delay(3000)
|
delay(3000)
|
||||||
onConnectionEstablished("1234-ABCD-5678-EFGH")
|
onConnectionEstablished("1234-ABCD-5678-EFGH")
|
||||||
delay(3000)
|
delay(3000)
|
||||||
onSigningIn()
|
onSigningIn()
|
||||||
delay(3000)
|
delay(3000)
|
||||||
onFailed(QrCodeLoginErrorType.DEVICE_IS_NOT_SUPPORTED, true)
|
onFailed(QrCodeLoginErrorType.DEVICE_IS_NOT_SUPPORTED, false)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user