Skip to content

Commit 5c0d66b

Browse files
committed
Fix flaky account history mockapi test
Add some extra time to for the login page to show to improve stability of the test.
1 parent 20d9c98 commit 5c0d66b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

android/test/mockapi/src/main/kotlin/net/mullvad/mullvadvpn/test/mockapi/AccountHistoryMockApiTest.kt

+1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ class AccountHistoryMockApiTest : MockApiTest() {
3636
app.ensureLoggedIn()
3737
app.clickAccountCog()
3838
app.clickActionButtonByText("Log out")
39+
app.waitForLoginPrompt()
3940
device.findObjectWithTimeout(By.res(LOGIN_INPUT_TEST_TAG)).click()
4041

4142
// Assert

0 commit comments

Comments
 (0)