使用“cypress-testrail-reporter”时收到错误消息;用于集成 TestRail 和 Cypress 的插件

发布于 2025-01-16 09:06:49 字数 607 浏览 4 评论 0原文

我在 cypress.json 文件中的设置是:

 "reporter": "../../../../node_modules/cypress-testrail-reporter",
  "reporterOptions": {
     "host": "https://mydomain.testrail.io/",
    "domain": "mydomain.testrail.io",
    "username": "[email protected]",
    "password": "API password",
    "projectId": 1,
    "suiteId": 1,
    "runName": "Currency Test"
  }

运行 Cypress 测试时,测试用例的状态会在 TestRail 中更新。但是,我在最后看到了这个错误。

类型错误:无法读取未定义的属性(读取“split”)。

任何帮助将不胜感激!

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": "[email protected]",
    "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!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文