Skip to content

allure_robotframework sets incorrect statusDetails message for steps #835

@MrBIN89

Description

@MrBIN89

check.robot

*** Test Cases ***
Test Case To Demonstrate Allure Result File Issue
    [Tags]    allure

    Wait Until Keyword Succeeds   10x  200ms
    ...                           Should Be True    ${{random.choice([1, 2, 11])}} > 10
    Log To Console    Next step in test case

Command to execute the test above
robot --listener allure_robotframework .\check.robot

Generated Allure output files:
ff520b2f-c542-4179-b256-3ab5d6aa1ffc-result.json
RobotFramework log file
log.html.txt

Please see screenshot below that demonstrates an issue - statusDetails message for the Log To Console keyword has a message related for the first failed Should Be True call in Wait Until Keyword Succeeds for some reasons.
Image

PS: In fact this bug has an effect to the result.json file size, so in some cases test results can't be uploaded to the Allure TestOps due to 2,000,000 bytes limitation.

Used versions:
allure-python-commons 2.13.2
allure-robotframework 2.13.2
robotframework 7.1

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions