From 8e80b1ff0fe706a0965bc7f121d2b42c71a1c6b5 Mon Sep 17 00:00:00 2001 From: Niklas Berglund Date: Wed, 28 Aug 2024 11:03:29 +0200 Subject: [PATCH] Increase timeout when waiting for connection --- .../kotlin/net/mullvad/mullvadvpn/test/e2e/ConnectionTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/test/e2e/src/main/kotlin/net/mullvad/mullvadvpn/test/e2e/ConnectionTest.kt b/android/test/e2e/src/main/kotlin/net/mullvad/mullvadvpn/test/e2e/ConnectionTest.kt index 62db4484944f..3aac743544fc 100644 --- a/android/test/e2e/src/main/kotlin/net/mullvad/mullvadvpn/test/e2e/ConnectionTest.kt +++ b/android/test/e2e/src/main/kotlin/net/mullvad/mullvadvpn/test/e2e/ConnectionTest.kt @@ -41,7 +41,7 @@ class ConnectionTest : EndToEndTest(BuildConfig.FLAVOR_infrastructure) { // When device.findObjectWithTimeout(By.text("Secure my connection")).click() device.findObjectWithTimeout(By.text("OK")).click() - device.findObjectWithTimeout(By.text("SECURE CONNECTION")) + device.findObjectWithTimeout(By.text("SECURE CONNECTION"), CONNECTION_TIMEOUT) val expected = ConnCheckState(true, app.extractIpAddress()) // Then