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
gefragt vor 4 Jahren261 Aufrufe
2 Antworten
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
beantwortet vor 4 Jahren
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
beantwortet vor 4 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen