diff --git a/android/test/common/src/main/kotlin/net/mullvad/mullvadvpn/test/common/interactor/AppInteractor.kt b/android/test/common/src/main/kotlin/net/mullvad/mullvadvpn/test/common/interactor/AppInteractor.kt index 7fe8da1ef232..c61da99c673f 100644 --- a/android/test/common/src/main/kotlin/net/mullvad/mullvadvpn/test/common/interactor/AppInteractor.kt +++ b/android/test/common/src/main/kotlin/net/mullvad/mullvadvpn/test/common/interactor/AppInteractor.kt @@ -57,7 +57,9 @@ class AppInteractor( device.findObjectWithTimeout(By.clazz("android.widget.EditText")).apply { text = accountNumber } - loginObject.parent.findObject(By.clazz(Button::class.java)).click() + val loginButton = loginObject.parent.findObject(By.clazz(Button::class.java)) + loginButton.wait(Until.clickable(true), DEFAULT_INTERACTION_TIMEOUT) + loginButton.click() } fun attemptCreateAccount() {