[英]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.