Skip to content

Commit

Permalink
Fix sub-button selection in VPNSettingsPage
Browse files Browse the repository at this point in the history
  • Loading branch information
acb-mv committed Dec 6, 2024
1 parent 0804b97 commit 9aa969b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/MullvadVPNUITests/Pages/VPNSettingsPage.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9aa969b

Please sign in to comment.