Skip to content

Commit f4f5e32

Browse files
authored
Add iPad to Fastfile (#88)
* Add iPad to fastfile * Fix Tests on iPad
1 parent 6569a74 commit f4f5e32

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ Changelog
33

44
## master
55

6+
- Fixed iPad tests
7+
- Added iPad to CI
68
- Added `.introspectColorWell()` on iOS and macOS
79
- Added `.introspectButton()` on macOS
810
- Fix UITextField with cornerRadius

IntrospectTests/UIKitTests.swift

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ private struct NavigationTestView: View {
4545
self.spy()
4646
}
4747
}
48+
.navigationViewStyle(StackNavigationViewStyle())
4849
}
4950
}
5051

@@ -56,9 +57,9 @@ private struct ViewControllerTestView: View {
5657
VStack {
5758
EmptyView()
5859
}
59-
.introspectViewController { viewController in
60-
self.spy()
61-
}
60+
}
61+
.introspectViewController { viewController in
62+
self.spy()
6263
}
6364
}
6465
}

fastlane/Fastfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ platform :ios do
55
lane :test do |options|
66
puts 'Running on GitHub CI.' if options[:ci] == 'github'
77
multi_scan(
8-
devices: ["iPhone 8"],
8+
devices: ["iPhone 8", "iPad (8th generation)"],
99
scheme: "Introspect iOS",
1010
skip_build: options[:ci] == 'github',
1111
try_count: 3,

0 commit comments

Comments
 (0)