Skip to content

Commit

Permalink
Even longer timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasberglund committed May 13, 2024
1 parent 28e712c commit 63d28ce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ios/MullvadVPNUITests/Pages/TunnelControlPage.swift
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ class TunnelControlPage: Page {
}

@discardableResult func waitForSecureConnectionLabel() -> Self {
let labelFound = app.staticTexts[AccessibilityIdentifier.connectionStatusConnectedLabel]
.waitForExistence(timeout: BaseUITestCase.longTimeout)
let labelFound = app.staticTexts[.connectionStatusConnectedLabel]
.waitForExistence(timeout: BaseUITestCase.veryLongTimeout)
XCTAssertTrue(labelFound, "Found secure connection label")

return self
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ class BaseUITestCase: XCTestCase {
static let defaultTimeout = 5.0
static let shortTimeout = 1.0
static let longTimeout = 10.0
static let veryLongTimeout = 20.0

// swiftlint:disable force_cast
let displayName = Bundle(for: BaseUITestCase.self)
Expand Down

0 comments on commit 63d28ce

Please sign in to comment.