Importing mochawesome reports to Testiny

Hi,
I am with a free plan and I try to evaluate the Cypress tests report import to testiny using this documentation Cypress | Testiny Documentation

I created an API key with Administration permissions (no permission limitation), configured mochawesome reporter, run some test to have a json report in a results folder and then I used the provided commands:
export TESTINY_API_KEY=****
npx @testiny/cli automation --project <MY_ID> --source "e2e" --cypress results/*.json

Here is the log I have in the console:

o---o  ----------------------------
   |      TESTINY IMPORTER  1.31.0
   \-o  ----------------------------

API key: user '<MY_USER>' in organization '<MY_ORGANIZATION>'
Using project: <MY_PROJECT>
Import source: e2e
Environment: none
No CI environment was detected and no 'runFields' arguments were provided, using random 'run_id'
Run Fields: run_id
Processing mochawesome file: results/mochawesome.json
Found 0 screenshots in "cypress/screenshots"

Import error:  Required features 'atmData' are not available or enabled (API_NOT_SUPPORTED)

Is it because I am in a free plan that I can’t use the testiny CLI to post test result ?

Thank you for your help, the cypress test result import in Testiny is the last thing I need to validate to move to a paid plan.

Julien

1 Answer

1

The Free plan does not support the Automation feature. You need at least the Business plan, see here:

I activated the Trial again for your organization, so you can at least try it out :slight_smile:

Best regards,
Alex

Thank you, it was not clear that using manually the testiny CLI for test result upload was under the "automation" feature.

Understood. Even if we allowed to ingest data, you would not be able to see it. And automation data can only be ingested, there is no other way :-)

I was able to test it. The difference between this automation command and the manual test run results upload is that the ATC created are not linked to existing test cases. I already see a feature request opened for this (https://www.testiny.io/forum/t/automation-test-cases/536), will use it when it will be available. Thank you for the provided support and extended trial.