node.jsallurewdio

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).

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.

Any ideas?

I am using WDIO and the latest allure (7.16.14)

enter image description here


Solution

  • 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.