iOS Xamarin 云上的自动化

iOS automation on Xamarin cloud

我正在试穿 Xamarin Test Cloud

我可以 运行 使用此配置文件在我的本地设备上进行测试:

** 但 Xamarin 运行 失败并显示以下消息:

Background: # features/app_regression_master_cases/tc_001_card_front_side.feature:4 execution expired (HTTPClient::ConnectTimeoutError)
/xamarin/workspaces/pipeline20151207-54352-1a5zuwf/inputs/pre/installation/workspace/local_gems/gems/httpclient-2.6.0.1/lib/httpclient/session.rb:799:in initialize'<br> /xamarin/workspaces/pipeline20151207-54352-1a5zuwf/inputs/pre/installation/workspace/local_gems/gems/httpclient-2.6.0.1/lib/httpclient/session.rb:799:in new'
/xamarin/workspaces/pipeline20151207-54352-1a5zuwf/inputs/pre/installation/workspace/local_gems/gems/httpclient-2.6.0.1/lib/httpclient/session.rb:799:in create_socket'<br> /xamarin/workspaces/pipeline20151207-54352-1a5zuwf/inputs/pre/installation/workspace/local_gems/gems/httpclient-2.6.0.1/lib/httpclient/session.rb:747:in block in connect'
/xamarin/workspaces/pipeline20151207-54352-1a5zuwf/inputs/pre/installation/workspace/local_gems/gems/httpclient-2.6.0.1/lib/httpclient/session.rb:746:in connect'<br> /xamarin/workspaces/pipeline20151207-54352-1a5zuwf/inputs/pre/installation/workspace/local_gems/gems/httpclient-2.6.0.1/lib/httpclient/session.rb:612:in query'
/xamarin/workspaces/pipeline20151207-54352-1a5zuwf/inputs/pre/installation/workspace/local_gems/gems/httpclient-2.6.0.1/lib/httpclient/session.rb:164:in query'<br> /xamarin/workspaces/pipeline20151207-54352-1a5zuwf/inputs/pre/installation/workspace/local_gems/gems/httpclient-2.6.0.1/lib/httpclient.rb:1191:in do_get_block'
/xamarin/workspaces/pipeline20151207-54352-1a5zuwf/inputs/pre/installation/workspace/local_gems/gems/httpclient-2.6.0.1/lib/httpclient.rb:974:in block in do_request'<br> /xamarin/workspaces/pipeline20151207-54352-1a5zuwf/inputs/pre/installation/workspace/local_gems/gems/httpclient-2.6.0.1/lib/httpclient.rb:1082:in protect_keep_alive_disconnected'
/xamarin/workspaces/pipeline20151207-54352-1a5zuwf/inputs/pre/installation/workspace/local_gems/gems/httpclient-2.6.0.1/lib/httpclient.rb:969:in do_request'<br> /xamarin/workspaces/pipeline20151207-54352-1a5zuwf/inputs/pre/installation/workspace/local_gems/gems/httpclient-2.6.0.1/lib/httpclient.rb:822:in request'
/xamarin/workspaces/pipeline20151207-54352-1a5zuwf/inputs/pre/installation/workspace/local_gems/gems/httpclient-2.6.0.1/lib/httpclient.rb:713:in get'<br> /xamarin/workspaces/pipeline20151207-54352-1a5zuwf/inputs/pre/installation/workspace/local_gems/gems/calabash-cucumber-0.16.3/lib/calabash-cucumber/http_helpers.rb:59:in block in make_http_request'
/xamarin/workspaces/pipeline20151207-54352-1a5zuwf/inputs/pre/installation/workspace/local_gems/gems/calabash-cucumber-0.16.3/lib/calabash-cucumber/http_helpers.rb:50:in times'<br> /xamarin/workspaces/pipeline20151207-54352-1a5zuwf/inputs/pre/installation/workspace/local_gems/gems/calabash-cucumber-0.16.3/lib/calabash-cucumber/http_helpers.rb:50:in make_http_request'
/xamarin/workspaces/pipeline20151207-54352-1a5zuwf/inputs/pre/installation/workspace/local_gems/gems/calabash-cucumber-0.16.3/lib/calabash-cucumber/http_helpers.rb:29:in http'<br> /xamarin/workspaces/pipeline20151207-54352-1a5zuwf/inputs/pre/installation/workspace/local_gems/gems/calabash-cucumber-0.16.3/lib/calabash-cucumber/connection_helpers.rb:11:in http'
/Volumes/Data/xamarin/workspaces/pipeline20151207-54352-1a5zuwf/workspace/xtc-sandbox-runtime-lib/xtc/formatter/patches/calabash_ios_patch.rb:182:in xtc_start_app'<br> /Volumes/Data/xamarin/workspaces/pipeline20151207-54352-1a5zuwf/workspace/xtc-sandbox-runtime-lib/xtc/formatter/patches/calabash_ios_patch.rb:131:in relaunch'
/Volumes/Data/xamarin/workspaces/pipeline20151207-54352-1a5zuwf/workspace/features/ios/support/01_launch.rb:31:in `Before' Given App is launched # features/step_definitions/launch_steps.rb:1

这有什么问题?

不要在 XTC 上设置任何环境变量。

有关使用一组配置文件进行本地测试和使用另一组配置文件进行 XTC 测试的示例,请参阅 iOS Smoke Test Example

提交测试时使用 --config--profile 标志。