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 年前檢視次數 267 次
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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南