Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allure_robotframework sets incorrect statusDetails message for steps #835

Open
MrBIN89 opened this issue Jan 16, 2025 · 0 comments
Open

Comments

@MrBIN89
Copy link

MrBIN89 commented Jan 16, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant