【问题标题】:Link cypress video to test results in release pipeline将 cypress 视频链接到发布管道中的测试结果
【发布时间】:2021-04-15 02:55:16
【问题描述】:

我正在我的发布管道中设置 cypress 测试。在我的发布管道中,我运行这些 npm 命令:

"test": "cypress run --spec cypress/integration/localAuth-spec.js",
"ci": "nuxt generate -s && start-server-and-test start-server http://localhost:3000 test",

测试运行并使用 publish test results 我可以将结果发布到版本中的测试选项卡:

在我的 cypress.config 中,我导出了视频,我可以在发布管道日志中看到这种情况。但我想知道如何将视频链接到测试。

【问题讨论】:

标签: azure-devops azure-pipelines


【解决方案1】:

在管道中,我们无法将视频链接到测试。我们可以输出视频,然后将视频附加到工作项。这可能是解决方法。

【讨论】:

  • 在构建过程中进行测试会更好吗?
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2021-05-22
  • 2020-03-11
  • 2022-12-06
  • 1970-01-01
  • 2012-10-25
  • 2021-04-27
  • 1970-01-01
相关资源
最近更新 更多