wip
This commit is contained in:
parent
7e95a56fed
commit
21b0e11d09
|
@ -22,10 +22,8 @@ final class SearchFieldTests: XCTestCase {
|
||||||
.searchable(text: .constant(""))
|
.searchable(text: .constant(""))
|
||||||
}
|
}
|
||||||
.navigationViewStyle(.stack)
|
.navigationViewStyle(.stack)
|
||||||
#if os(iOS)
|
#if os(iOS) || os(tvOS)
|
||||||
.introspect(.searchField, on: .iOS(.v15, .v16), customize: spy)
|
.introspect(.searchField, on: .iOS(.v15, .v16), .tvOS(.v15, .v16), customize: spy)
|
||||||
#elseif os(tvOS)
|
|
||||||
.introspect(.searchField, on: .tvOS(.v15, .v16), customize: spy)
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -41,10 +39,8 @@ final class SearchFieldTests: XCTestCase {
|
||||||
NavigationView {
|
NavigationView {
|
||||||
Text("Customized")
|
Text("Customized")
|
||||||
.searchable(text: .constant(""))
|
.searchable(text: .constant(""))
|
||||||
#if os(iOS)
|
#if os(iOS) || os(tvOS)
|
||||||
.introspect(.searchField, on: .iOS(.v15, .v16), scope: .ancestor, customize: spy)
|
.introspect(.searchField, on: .iOS(.v15, .v16), .tvOS(.v15, .v16), scope: .ancestor, customize: spy)
|
||||||
#elseif os(tvOS)
|
|
||||||
.introspect(.searchField, on: .tvOS(.v15, .v16), scope: .ancestor, customize: spy)
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
.navigationViewStyle(.stack)
|
.navigationViewStyle(.stack)
|
||||||
|
@ -64,10 +60,8 @@ final class SearchFieldTests: XCTestCase {
|
||||||
.searchable(text: .constant(""))
|
.searchable(text: .constant(""))
|
||||||
}
|
}
|
||||||
.navigationViewStyle(DoubleColumnNavigationViewStyle())
|
.navigationViewStyle(DoubleColumnNavigationViewStyle())
|
||||||
#if os(iOS)
|
#if os(iOS) || os(tvOS)
|
||||||
.introspect(.searchField, on: .iOS(.v15, .v16), customize: spy)
|
.introspect(.searchField, on: .iOS(.v15, .v16), .tvOS(.v15, .v16), customize: spy)
|
||||||
#elseif os(tvOS)
|
|
||||||
.introspect(.searchField, on: .tvOS(.v15, .v16), customize: spy)
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -83,10 +77,8 @@ final class SearchFieldTests: XCTestCase {
|
||||||
NavigationView {
|
NavigationView {
|
||||||
Text("Customized")
|
Text("Customized")
|
||||||
.searchable(text: .constant(""))
|
.searchable(text: .constant(""))
|
||||||
#if os(iOS)
|
#if os(iOS) || os(tvOS)
|
||||||
.introspect(.searchField, on: .iOS(.v15, .v16), scope: .ancestor, customize: spy)
|
.introspect(.searchField, on: .iOS(.v15, .v16), .tvOS(.v15, .v16), scope: .ancestor, customize: spy)
|
||||||
#elseif os(tvOS)
|
|
||||||
.introspect(.searchField, on: .tvOS(.v15, .v16), scope: .ancestor, customize: spy)
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
.navigationViewStyle(DoubleColumnNavigationViewStyle())
|
.navigationViewStyle(DoubleColumnNavigationViewStyle())
|
||||||
|
|
Loading…
Reference in New Issue