Skip to content

Commit

Permalink
Increase mockapi login test failure timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
albin-mullvad committed Oct 9, 2023
1 parent acb26b6 commit 18e7294
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package net.mullvad.mullvadvpn.test.mockapi

import androidx.test.runner.AndroidJUnit4
import androidx.test.uiautomator.By
import net.mullvad.mullvadvpn.test.common.constant.LOGIN_FAILURE_TIMEOUT
import net.mullvad.mullvadvpn.test.common.extension.clickAgreeOnPrivacyDisclaimer
import net.mullvad.mullvadvpn.test.common.extension.clickAllowOnNotificationPermissionPromptIfApiLevel33AndAbove
import net.mullvad.mullvadvpn.test.common.extension.findObjectWithTimeout
Expand All @@ -28,7 +29,7 @@ class LoginMockApiTest : MockApiTest() {
app.attemptLogin(validAccountToken)

// Assert
device.findObjectWithTimeout(By.text("Login failed"))
device.findObjectWithTimeout(By.text("Login failed"), LOGIN_FAILURE_TIMEOUT)
}

@Test
Expand Down

0 comments on commit 18e7294

Please sign in to comment.