赛普拉斯 Testrail 集成

时间:2021-02-01 19:21:48

标签: cypress testrail

我已经从 npm 安装了 cypresscypress-testrail-reporter 软件包。

我将它连接并在 testrail 中创建运行。该工具似乎按预期工作。但它不会向运行中的测试报告结果。

我知道添加到运行中的 caseIds (C###) 有一些不同 (T###)。

此工具是否说明了这一点,还是需要安装特定版本的 Testrail?

当设置为 false 时,includeAllInTestRun 似乎也不起作用。

Cypress.json

    "reporter": "cypress-testrail-reporter",
    "reporterOptions": {
      "host": "https://my.testraillink.com/",
      "username": "emailUser",
      "password": "pass",
      "includeAllInTestRun": true,
      "projectId": project#,
      "suiteId": suite#
    }

示例测试:

    describe("Some Environment Test", () => {
      it("C87 should pass", () => {
        expect(1).to.eq(1);
      });
    });

任何帮助将不胜感激。

0 个答案:

没有答案