【发布时间】:2022-01-22 02:37:26
【问题描述】:
在 firebase 中使用 testlab,我希望自动测试 ui 测试。为了将此流程集成到 CI/CD 流程中,我将下面的通道添加到我的 fastfile 中。但我收到错误“找不到动作、车道或变量‘firebase_test_lab_ios_xctest’”。错误的原因可能是什么?
desc "Firebase Test"
lane :test do |options|
scan(
clean: true,
skip_detect_devices: true,
build_for_testing: true,
sdk: 'iphoneos',
should_zip_build_products: true
)
firebase_test_lab_ios_xctest(
gcp_project: 'xxxx-24b103', #Google Cloud project name
devices: [
{
ios_model_id: 'iphone11',
ios_version_id: '14.5',
locale: 'en_US',
orientation: 'portrait'
}
]
)
end
【问题讨论】:
标签: swift fastlane firebase-test-lab