summaryrefslogtreecommitdiffhomepage
path: root/android/test/common
diff options
context:
space:
mode:
Diffstat (limited to 'android/test/common')
-rw-r--r--android/test/common/src/main/kotlin/net/mullvad/mullvadvpn/test/common/interactor/AppInteractor.kt8
1 files changed, 8 insertions, 0 deletions
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 ef52a7ef55..c875c13afa 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
@@ -88,6 +88,14 @@ class AppInteractor(
device.findObjectWithTimeout(By.text("UNSECURED CONNECTION"), LOGIN_TIMEOUT)
}
+ fun ensureOutOfTime() {
+ device.findObjectWithTimeout(By.res("out_of_time_screen_title_test_tag"))
+ }
+
+ fun ensureAccountScreen() {
+ device.findObjectWithTimeout(By.text("Account"))
+ }
+
fun extractIpAddress(): String {
device.findObjectWithTimeout(By.res("location_info_test_tag")).click()
return device