Skip to content

Commit 8c7ac5a

Browse files
committed
Fix main actor isolation warnings that are Swift 6 errors in the XCUITests suite.
1 parent f031061 commit 8c7ac5a

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

firefox-ios/firefox-ios-tests/Tests/XCUITests/A11yHomePageTests.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
import XCTest
66

7+
@MainActor
78
class A11yHomePageTests: BaseTestCase {
89
func testA11yHomePageAudit() throws {
910
guard #available(iOS 17.0, *), !skipPlatform else { return }

firefox-ios/firefox-ios-tests/Tests/XCUITests/A11ySearchTest.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
import XCTest
66
import Common
77

8+
@MainActor
89
class A11ySearchTest: BaseTestCase {
910
private func typeTextAndValidateSearchSuggestions(text: String, isSwitchOn: Bool) {
1011
typeOnSearchBar(text: text)

firefox-ios/firefox-ios-tests/Tests/XCUITests/A11ySettingsTests.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
import XCTest
66

7+
@MainActor
78
class A11ySettingsTests: BaseTestCase {
89
func testSettingsMenuPageAudit() throws {
910
guard #available(iOS 17.0, *), !skipPlatform else { return }

0 commit comments

Comments
 (0)