You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: ios/MullvadVPNUITests/Pages/TunnelControlPage.swift
+47-3
Original file line number
Diff line number
Diff line change
@@ -19,9 +19,10 @@ class TunnelControlPage: Page {
19
19
/// Poll the "in address row" label for its updated values and output an array of ConnectionAttempt objects representing the connection attempts that have been communicated through the UI.
20
20
/// - Parameters:
21
21
/// - attemptsCount: number of connection attempts to look for
22
-
/// - timeout: timeout after this many seconds if attemptsCount haven't been reached yet
22
+
/// - timeout: return the attemps found so far after this many seconds if `attemptsCount` haven't been reached yet
// Should be two UDP connection attempts but sometimes only one is shown in the UI
74
+
TunnelControlPage(app)
75
+
.verifyConnectionAttemptsOrder()
76
+
.tapCancelButton()
77
+
}
78
+
58
79
func testWireGuardOverTCPManually()throws{
59
80
HeaderBar(app)
60
81
.tapSettingsButton()
@@ -86,29 +107,11 @@ class RelayTests: LoggedInWithTimeUITestCase {
86
107
87
108
/// Test automatic switching to TCP is functioning when UDP traffic to relay is blocked. This test first connects to a realy to get the IP address of it, in order to block UDP traffic to this relay.
@@ -163,4 +166,35 @@ class RelayTests: LoggedInWithTimeUITestCase {
163
166
.verifyConnectingToPort("4001")
164
167
.tapDisconnectButton()
165
168
}
169
+
170
+
/// Get got001 WireGuard relay IP address by connecting to it and checking which IP address the app connects to. Assumes user is logged on and at tunnel control page.
0 commit comments