【问题标题】:using salty- / cypress-testrail-reporter使用 salty- / cypress-testrail-reporter
【发布时间】:2019-02-04 14:25:23
【问题描述】:

我正在尝试使用 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 中。是否有人能够处理这个问题,或者指导我需要做什么或者我可以在哪里看到测试结果?

【问题讨论】:

    标签: cypress testrail


    【解决方案1】:

    您的配置看起来是正确的 - 我必须做的唯一另一件事是从 Testrail 本身启用 API 访问。

    打开 Testrail,转到 Administration => Site Settings => API 并选中 Enable API 复选框。

    【讨论】:

      【解决方案2】:

      您是如何运行测试的?

      当我从 CLI(而不是 Cypress Test Runner)运行它们时,与 TestRail 的集成对我有用。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2021-12-05
        • 2022-09-27
        • 2022-10-14
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多