diff --git a/Tests/Tests/ViewTypes/SearchFieldTests.swift b/Tests/Tests/ViewTypes/SearchFieldTests.swift index 7fc6e56..b188356 100644 --- a/Tests/Tests/ViewTypes/SearchFieldTests.swift +++ b/Tests/Tests/ViewTypes/SearchFieldTests.swift @@ -64,7 +64,7 @@ final class SearchFieldTests: XCTestCase { .introspect(.searchField, on: .iOS(.v15, .v16), .tvOS(.v15, .v16), customize: spy) #endif #if os(iOS) - // NB: this is necessary for ancestor introspection to work, because initially on iPad the "Customized" text isn't shown as it's hidden in the sidebar. This is why ancestor introspection is discouraged for most situations and it's opt-in. + // NB: this is necessary for introspection to work, because on iPad the search field is in the sidebar, which is initially hidden. .introspect(.navigationView(style: .columns), on: .iOS(.v13, .v14, .v15, .v16)) { $0.preferredDisplayMode = .oneOverSecondary } @@ -89,7 +89,7 @@ final class SearchFieldTests: XCTestCase { } .navigationViewStyle(DoubleColumnNavigationViewStyle()) #if os(iOS) - // NB: this is necessary for ancestor introspection to work, because initially on iPad the "Customized" text isn't shown as it's hidden in the sidebar. This is why ancestor introspection is discouraged for most situations and it's opt-in. + // NB: this is necessary for introspection to work, because on iPad the search field is in the sidebar, which is initially hidden. .introspect(.navigationView(style: .columns), on: .iOS(.v13, .v14, .v15, .v16)) { $0.preferredDisplayMode = .oneOverSecondary }