Add iPad to Fastfile (#88)

* Add iPad to fastfile
* Fix Tests on iPad
This commit is contained in:
JannThomas 2021-03-23 19:15:21 +01:00 committed by GitHub
parent 6569a749d4
commit f4f5e32df3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 4 deletions

View File

@ -3,6 +3,8 @@ Changelog
## master ## master
- Fixed iPad tests
- Added iPad to CI
- Added `.introspectColorWell()` on iOS and macOS - Added `.introspectColorWell()` on iOS and macOS
- Added `.introspectButton()` on macOS - Added `.introspectButton()` on macOS
- Fix UITextField with cornerRadius - Fix UITextField with cornerRadius

View File

@ -45,6 +45,7 @@ private struct NavigationTestView: View {
self.spy() self.spy()
} }
} }
.navigationViewStyle(StackNavigationViewStyle())
} }
} }
@ -56,9 +57,9 @@ private struct ViewControllerTestView: View {
VStack { VStack {
EmptyView() EmptyView()
} }
.introspectViewController { viewController in }
self.spy() .introspectViewController { viewController in
} self.spy()
} }
} }
} }

View File

@ -5,7 +5,7 @@ platform :ios do
lane :test do |options| lane :test do |options|
puts 'Running on GitHub CI.' if options[:ci] == 'github' puts 'Running on GitHub CI.' if options[:ci] == 'github'
multi_scan( multi_scan(
devices: ["iPhone 8"], devices: ["iPhone 8", "iPad (8th generation)"],
scheme: "Introspect iOS", scheme: "Introspect iOS",
skip_build: options[:ci] == 'github', skip_build: options[:ci] == 'github',
try_count: 3, try_count: 3,