@@ -88,7 +88,7 @@ class MullvadVPNScreenshots: XCTestCase {
88
88
// Wait for Disconnect button to appear
89
89
_ = app. buttons [ AccessibilityIdentifier . disconnectButton. rawValue] . waitForExistence ( timeout: 2 )
90
90
91
- snapshot ( " MainSecured " )
91
+ snapshot ( " ConnectionSecured " )
92
92
93
93
// Re-open Select location controller (iPhone only)
94
94
if case . phone = UIDevice . current. userInterfaceIdiom {
@@ -113,22 +113,23 @@ class MullvadVPNScreenshots: XCTestCase {
113
113
// Tap on VPN settings cell
114
114
_ = app. tables. cells [ AccessibilityIdentifier . vpnSettingsCell. rawValue] . waitForExistence ( timeout: 2 )
115
115
app. tables. cells [ AccessibilityIdentifier . vpnSettingsCell. rawValue] . tap ( )
116
+ snapshot ( " VPNSettings " )
116
117
117
- app. tables. element
118
- . cells
119
- . matching ( NSPredicate ( format: " identifier BEGINSWITH %@ " , " mullvadDNS " ) )
120
- . switches
121
- . matching ( NSPredicate ( format: " value = %@ " , " 0 " ) )
122
- . allElementsBoundByAccessibilityElement
123
- . forEach { $0. tap ( ) }
124
- snapshot ( " VPN Settings " )
118
+ let quantumCell = app. tables. otherElements. containing ( . any, identifier: AccessibilityIdentifier . quantumResistantTunnelCell. rawValue)
119
+ quantumCell. buttons [ AccessibilityIdentifier . expandButton. rawValue] . tap ( )
120
+ app. cells [ AccessibilityIdentifier . quantumResistanceOn. rawValue] . tap ( )
125
121
126
122
// Tap back button
127
123
app. navigationBars. buttons. firstMatch. tap ( )
128
124
129
125
// Tap dismiss button
130
126
app. navigationBars. buttons. firstMatch. tap ( )
131
127
128
+ // Acquire a quantum resistant connection
129
+ app. buttons [ AccessibilityIdentifier . disconnectButton. rawValue] . tap ( )
130
+ app. buttons [ AccessibilityIdentifier . secureConnectionButton. rawValue] . tap ( )
131
+ snapshot ( " QuantumResistantConnectionSecured " )
132
+
132
133
// Open Account
133
134
app. buttons [ AccessibilityIdentifier . accountButton. rawValue] . tap ( )
134
135
0 commit comments