使用“cypress-testrail-reporter”时收到错误消息;用于集成 TestRail 和 Cypress 的插件
我在 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论