我正在尝试使用cypress-testrail-reporter,但这似乎根本不会触发。我将cypress.json设置为:
"reporter": "cypress-testrail-reporter",
"reporterOptions": {
"domain": "mrgreentest.testrail.io",
"username": "email",
"password": "pass",
"projectId": 1,
"suiteId": 1,
"createTestRun": "true"
}我还验证了projectID和suiteID。然而,当我运行我的cypress测试时,我从未在testrail中看到任何东西。有没有人能够使用它,或者指导我需要做什么,或者在testrail中我可以在哪里看到结果?
发布于 2019-05-07 19:20:16
你的配置看起来是正确的--为了让它正常工作,我唯一需要做的就是在Testrail内部启用API访问。
打开Testrail,转到Administration => Site Settings => API并选中Enable API复选框。
发布于 2020-08-26 23:28:33
你是如何运行你的测试的?
当我从命令行界面而不是Cypress Test Runner运行它们时,与TestRail的集成对我来说是有效的。
https://stackoverflow.com/questions/54518236
复制相似问题