当从 CodePipeline 执行 Appium Java TestNG 测试时,Device Farm 中的测试会被跳过

问题描述

我正在尝试使用 AWS CodePipeline 在 Device Farm 中运行测试。我参考这篇文章来执行测试-https://docs.aws.amazon.com/devicefarm/latest/developerguide/codepipeline.html

我正在从构建步骤获取测试和 apk 文件,并将其传递给 Device Farm。 以下是我为运行测试而设置的参数:

Region us-west-2
Input artifact BuildArtifact
App hibernate.v2.testyourandroid_1910432_apps.evozi.com.apk
AppType Android
AppiumVersion 1.12.1
CustomHostMachineArtifacts $WORKING_DIRECTORY,/tmp/Results/
DevicePoolArn arn:aws:devicefarm:us-west-2:613396336267:devicepool:a4360fbe-21d9-4e17-8235-514359f41690/8de259df-3412-4ea3-9ed0-38031e218671
ProjectId a4360fbe-21d9-4e17-8235-514359f41690
RadioBluetoothEnabled True
RadioGpsEnabled True
RadioNfcEnabled True
RadioWifiEnabled True
RecordAppPerformanceData True
RecordVideo True
Test zip-with-dependencies.zip
TestType APPIUM_JAVA_TESTNG

在 Device Farm 中会显示以下消息 -“此运行已被跳过。” 没有可用的错误日志。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)