Device Farm - Code Pipeline Integration fails

0

Hi everyone,

I'm actually unable to integrate a Device Farm test phase in my pipeline.
I try to use Appium for NodeJS to test a Web Application using a Test Stage in my Code Pipeline but I've got the same error every time and I don't figure out how to correct it.
The error is not very explicit so it's difficult to detect the issue : "Invalid option for TestType configured, should be a valid TestType."
Here is the part of my Cloudformation stack describing the Test Stage :

- Name: Tests
          Actions:
            - Name: TestOnDeviceFarm
              ActionTypeId:
                Category: Test
                Owner: AWS
                Version: 1
                Provider: DeviceFarm
              Configuration:
                Test: package_device_farm.zip
                RecordAppPerformanceData: "true"
                RecordVideo: "true"
                AppType: Web
                TestType: APPIUM_WEB_NODE
                ProjectId: arn:aws:devicefarm:us-west-2:xxxxxx
                DevicePoolArn: arn:aws:devicefarm:us-west-2:yyyy
                RadioBluetoothEnabled: false
                RadioWifiEnabled: true
                RadioNfcEnabled: false
                RadioGpsEnabled: true
                AppiumVersion: "1.9.1"
              RunOrder: 1
              InputArtifacts:
                - Name: BuildArtifact

The Zip file comes from the Input Artifacts of the stage.
The test type "APPIUM_WEB_NODE" seems to be correct, so I don't understand the error message.

Can someone help me ?

Edited by: wmegel on Feb 11, 2020 12:24 AM

wmegel
質問済み 4年前265ビュー
2回答
0

Hello,
The reason you are getting this failure is because APPIUM_WEB_NODE is not supported on code pipeline.

Currently we do not have any plans of extending support on code pipeline. However if you are looking for ways to pipeline, you can use AWS CLI or DeviceFarm Jenkins plugin.

Regards

AWS
回答済み 4年前
0

I've found this answer. The only TestType supported with a Code Pipeline integration are :

 CALABASH
 INSTRUMENTATION
 UIAUTOMATION
 UIAUTOMATOR
 XCTEST
 XCTEST_UI

"APPIUM_WEB_NODE" type is not yet supported with code pipeline.
I've got this information from the AWS Support Team.
Unfortunately the documentation was not very clear about that !

wmegel
回答済み 4年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ