From c22ceb56668e72789d4a2e911e1616f054eb75e2 Mon Sep 17 00:00:00 2001 From: David Roman <2538074+davdroman@users.noreply.github.com> Date: Sat, 3 Jun 2023 20:57:35 +0100 Subject: [PATCH] wip [skip ci] --- Tests/Tests/ViewTypes/SearchFieldTests.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 }