Skip to content

Commit

Permalink
Remove verbiage &c
Browse files Browse the repository at this point in the history
  • Loading branch information
acb-mv committed Dec 9, 2024
1 parent b6031ed commit 873f313
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,6 @@ extension LocationCell {
// Only custom list nodes have more than one location. Therefore checking first
// location here is fine.
if let location = item.node.locations.first {
// we can probably replace this with a tagged AccessibilityIdentifier and cut this case statement
let accessibilityId: AccessibilityIdentifier = switch location {
case .country: .countryLocationCell
case .city: .cityLocationCell
Expand Down
6 changes: 3 additions & 3 deletions ios/MullvadVPNUITests/Base/BaseUITestCase.swift
Original file line number Diff line number Diff line change
Expand Up @@ -214,13 +214,13 @@ class BaseUITestCase: XCTestCase {
/// Check if currently logged on to an account. Note that it is assumed that we are logged in if login view isn't currently shown.
func isLoggedIn() -> Bool {
return !app
.otherElements[AccessibilityIdentifier.loginView]
.otherElements[.loginView]
.waitForExistence(timeout: 1.0)
}

func isPresentingSettings() -> Bool {
return app
.otherElements[AccessibilityIdentifier.settingsContainerView]
.otherElements[.settingsContainerView]
.exists
}

Expand Down Expand Up @@ -248,7 +248,7 @@ class BaseUITestCase: XCTestCase {

// Ensure changelog is no longer shown
_ = app
.otherElements[AccessibilityIdentifier.changeLogAlert.asString]
.otherElements[.changeLogAlert]
.waitForNonExistence(timeout: Self.shortTimeout)
}

Expand Down

0 comments on commit 873f313

Please sign in to comment.