简体   繁体   English

Allure 报告将测试和测试步骤标记为已通过但还指示结果未知?

[英]Allure report marking tests and test steps as passed but also indicating result is unknown?

My allure report is marking my test and all steps as passed but the arrow to expand the test steps in the report is marked purple which I understand indicates an unknown result (css classes indicate this).我的诱惑力报告将我的测试和所有步骤标记为已通过,但报告中用于展开测试步骤的箭头标记为紫色,据我所知,这表示未知结果(css 类表明了这一点)。

This only occurs for a few tests (most others have a green arrow for expand) but I can't really see a pattern as they use different types of assertions.这只发生在一些测试中(大多数其他测试都有一个绿色箭头用于展开),但我无法真正看到一种模式,因为它们使用不同类型的断言。 Additionally I can't find good information when allure marks a test result as unknown.此外,当 allure 将测试结果标记为未知时,我找不到好的信息。

Any ideas?有任何想法吗?

I am using WDIO and the latest allure (7.16.14)我正在使用 WDIO 和最新的 allure (7.16.14)

在此处输入图像描述

This turned out to be caused by us having test steps which were not ended during our execution.事实证明,这是由于我们的测试步骤在执行过程中没有结束。 Once we added an additional endStep call it is working correctly.一旦我们添加了一个额外的 endStep 调用,它就会正常工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 AVA单元测试未通过Javascript测试规范 - AVA unit tests fails passed Javascript test specs 在执行期间访问 Allure 报告的参数/参数? - Accessing arguments/parameters of an Allure report during execution? 为什么摩卡咖啡不显示通过测试? 像个玩笑。 它只是说5测试通过了更多细节 - why mocha doesn't show passed tests ? like jest. it just says 5 test passed not more details Allure Report 命令在 bash 中不起作用 - Allure Report commands don't work in bash 我如何编写摩卡测试,其中一个测试取决于下一个测试的结果? - How do I write mocha tests where one tests depends on the result for the next test? 纱线测试:所有测试都通过但返回“错误命令失败,退出代码为 1” - yarn test: all tests passed but returned "error Command failed with exit code 1" 如何在softAssertAll上应用expect或在softAssertAll通过的测试结果中明确显示(错误:预期对象是一个函数) - How to apply expect over softAssertAll or show explicity in the test result that the softAssertAll passed (Error: Expected Object to be a function) 角度测试未知提供程序 - Angular test Unknown provider 是否可以测试笑话测试? - Is it possible to test jest tests? MYSQL查询传递的变量结果0 - MYSQL Query Passed variable result 0
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM