Skip to content

Commit d1f5b30

Browse files
Fix race condition
1 parent 3bcde84 commit d1f5b30

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ios/MullvadVPNUITests/Pages/SelectLocationPage.swift

+3
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ class SelectLocationPage: Page {
6868
}
6969

7070
@discardableResult func tapCustomListEllipsisButton() -> Self {
71+
// This wait should not be needed, but is due to the issues we are having with the ellipsis button
72+
_ = app.buttons[.openCustomListsMenuButton].waitForExistence(timeout: BaseUITestCase.shortTimeout)
73+
7174
let customListEllipsisButtons = app.buttons
7275
.matching(identifier: AccessibilityIdentifier.openCustomListsMenuButton.rawValue).allElementsBoundByIndex
7376

0 commit comments

Comments
 (0)