Skip to content

Commit

Permalink
Fix remaining warnings in ExampleUITests
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Jarvis committed Nov 8, 2024
1 parent d8a6b38 commit 5cd4b77
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions Example/ExampleUITests/MutliValueUITests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import XCTest
import Example_macOS
#endif

@MainActor
final class MultiValueUITests: ExampleUITestCase {
override var _sectionNavItem: (() throws -> XCUIElement)? {
multiValueNavItem
Expand Down
1 change: 1 addition & 0 deletions Example/ExampleUITests/SingleOptionalValueTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import XCTest
import Example_macOS
#endif

@MainActor
final class SingleOptionalValueUITests: ExampleUITestCase {
override var _sectionNavItem: (() throws -> XCUIElement)? {
singleOptionalValueNavItem
Expand Down
1 change: 1 addition & 0 deletions Example/ExampleUITests/SingleValueUITests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import XCTest
import Example_macOS
#endif

@MainActor
final class SingleValueUITests: ExampleUITestCase {
override var _sectionNavItem: (() throws -> XCUIElement)? {
singleValueNavItem
Expand Down
6 changes: 3 additions & 3 deletions Example/ExampleUITests/XCUITestCase.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

import XCTest

@MainActor
class XCUITestCase: XCTestCase {
private var _app: XCUIApplication?

Expand All @@ -33,11 +34,10 @@ class XCUITestCase: XCTestCase {
NSCompoundPredicate(orPredicateWithSubpredicates: labels.map(elementPredicate(labeled:)))
}

override func setUpWithError() throws {
override func setUp() async throws {
_app = XCUIApplication()
continueAfterFailure = false

try app().launch()
try? app().launch()
}
}

Expand Down

0 comments on commit 5cd4b77

Please sign in to comment.