summaryrefslogtreecommitdiffhomepage
path: root/ios
diff options
context:
space:
mode:
authorAndrew Bulhak <andrew.bulhak@mullvad.net>2024-12-06 15:01:31 +0100
committerBug Magnet <marco.nikic@mullvad.net>2024-12-10 09:20:19 +0100
commit627e8f2b7ec17e7a88b8abe4e2db907e513d6ca3 (patch)
tree6404cb9f9b869e4eedc5625ef1edc607e4819d6a /ios
parent4a4933c9353444e47f170222c585d8e5bf61552e (diff)
downloadmullvadvpn-627e8f2b7ec17e7a88b8abe4e2db907e513d6ca3.tar.xz
mullvadvpn-627e8f2b7ec17e7a88b8abe4e2db907e513d6ca3.zip
Fix sub-button selection in VPNSettingsPage
Diffstat (limited to 'ios')
-rw-r--r--ios/MullvadVPNUITests/Pages/VPNSettingsPage.swift2
1 files changed, 1 insertions, 1 deletions
diff --git a/ios/MullvadVPNUITests/Pages/VPNSettingsPage.swift b/ios/MullvadVPNUITests/Pages/VPNSettingsPage.swift
index 37bb4e75f6..33a8023ca6 100644
--- a/ios/MullvadVPNUITests/Pages/VPNSettingsPage.swift
+++ b/ios/MullvadVPNUITests/Pages/VPNSettingsPage.swift
@@ -20,7 +20,7 @@ class VPNSettingsPage: Page {
) -> XCUIElement {
let tableView = app.tables[AccessibilityIdentifier.vpnSettingsTableView]
let matchingCells = tableView.otherElements[cellAccessiblityIdentifier.asString]
- let expandButton = matchingCells.buttons[AccessibilityIdentifier.expandButton]
+ let expandButton = matchingCells.buttons[subButtonAccessibilityIdentifier]
let lastCell = tableView.cells.allElementsBoundByIndex.last!
tableView.scrollDownToElement(element: lastCell)
return expandButton