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 572a0ba6122f..604f2382e894 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 @@ -93,7 +93,8 @@ class AppInteractor( device.findObjectWithTimeout(By.res("location_info_test_tag")).click() return device .findObjectWithTimeout( - By.res("location_info_connection_out_test_tag").textStartsWith("Out") + // Text exist and contains IP address + By.res("location_info_connection_out_test_tag").textContains(".") ) .text .extractIpAddress()