【发布时间】:2022-10-14 07:38:29
【问题描述】:
我在 cypress.json 文件中的设置是:
"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"
}
运行赛普拉斯测试时,测试用例的状态会在 TestRail 中更新。但是,我最后看到了这个错误。
TypeError:无法读取未定义的属性(读取“拆分”)。
任何帮助将不胜感激!
【问题讨论】:
-
我可以建议你在测试中加入一些东西吗?
-
我在测试中有代码“cy.get('button').should('exist')”。
标签: typescript cypress testrail