Skip to content

Commit 30c6529

Browse files
authored
ci: run with Xcode 11.5 (#265)
* ci: run with Xcode 11.5 * tvOS in Xcode 11.5 is 13.4 * relax the check on tvOS * relax the assertion * fix rubocop
1 parent a10f2d1 commit 30c6529

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

ci-jobs/functional_test.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
parameters:
33
vmImage: 'macOS-10.15'
44
vmImageForIOS: 'macOS-10.15' # Not sure the reason, but macOS 10.14 instance raises no info.plist error
5-
xcodeForIOS: 11.4
6-
xcodeForTVOS: 11.4
5+
xcodeForIOS: 11.5
6+
xcodeForTVOS: 11.5
77
androidSDK: 29
88
appiumVersion: 'beta'
99
ignoreVersionSkip: true

test/functional/ios/ios/mobile_commands_test.rb

+1-2
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,7 @@ def test_siri
110110
@driver = @core.start_driver
111111

112112
assert @driver.app_state('com.example.apple-samplecode.UICatalog') == :running_in_foreground
113-
siri_state = @driver.app_state('com.apple.SiriViewService')
114-
assert [:running_in_background_suspended, :not_running].include? siri_state
113+
assert @driver.app_state('com.apple.SiriViewService') != :running_in_foreground
115114

116115
@driver.execute_script 'mobile: siriCommand', { text: 'hello, siri' }
117116

test/test_helper.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def self.windows
107107

108108
# Require a simulator which OS version is 11.4, for example.
109109
def ios(platform_name = :ios)
110-
platform_version = '13.4'
110+
platform_version = platform_name == :ios ? '13.5' : '13.4'
111111
wda_port = wda_local_port
112112

113113
real_device = ENV['REAL'] ? true : false

0 commit comments

Comments
 (0)