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
posta 4 anni fa266 visualizzazioni
2 Risposte
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
con risposta 4 anni fa
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
con risposta 4 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande