1 year ago

#327781

test-img

Sofi

Getting an error message when using 'cypress-testrail-reporter' plugin to integrate TestRail and Cypress

The setup I have in my cypress.json file is:

 "reporter": "../../../../node_modules/cypress-testrail-reporter",
  "reporterOptions": {
     "host": "https://mydomain.testrail.io/",
    "domain": "mydomain.testrail.io",
    "username": "myemail@gmail.com",
    "password": "API password",
    "projectId": 1,
    "suiteId": 1,
    "runName": "Currency Test"
  }

When the Cypress tests are run, the status of the testcases do get updated in the TestRail. However, I see this error at the end.

TypeError: Cannot read properties of undefined (reading 'split').

Any help would be greatly appreciated!

typescript

cypress

testrail

0 Answers

Your Answer

Accepted video resources