【问题标题】:Cypress test results do not appear in reportportal赛普拉斯测试结果未出现在报告门户中
【发布时间】:2022-07-04 20:57:12
【问题描述】:

我在节点 14 上使用 "cypress": "^8.7.0" 和 "@reportportal/agent-js-cypress": "^5.0.2"

我的 reportportal 实施已经在另一个项目的 testcafe 中运行良好。现在我尝试用这个使用 cypress 的项目来设置它,结果只是没有出现在 RP 中。我按照这里显示的每一步: https://github.com/reportportal/agent-js-cypress

我在记者选项中打开了调试选项,我得到了这个输出:

Finish test item ...
Success finish item ...
Finish test item ...
Success finish item ...
Finish launch ...
Success finish launch ...

这听起来像是启动成功了,但我在 RP 中看不到任何东西。有谁知道我错过了什么?

【问题讨论】:

  • 是否有可能其他项目无法访问 ReportPortal 实例?我们有一个类似的问题,我们的 CI 无法访问 ReportPortal。

标签: testing report cypress e2e-testing reportportal


【解决方案1】:

尝试在端点末尾添加 /api/v1

例如:

endpoint=https://reportportal.com/api/v1

我在使用类似的调试日志时遇到了同样的问题。在端点中添加 /api/v1 为我解决了这个问题。

注意 - 赛普拉斯 10.0 或更高版本尚不支持 agent-js-cypress。详情https://github.com/reportportal/agent-js-cypress/issues/116

【讨论】:

    猜你喜欢
    • 2021-07-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2023-02-14
    • 2021-11-06
    • 2021-10-20
    • 2020-05-16
    • 1970-01-01
    相关资源
    最近更新 更多