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
asked 4 years ago249 views
2 Answers
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
answered 4 years ago
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
answered 4 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions