agent-Python-RobotFramework icon indicating copy to clipboard operation
agent-Python-RobotFramework copied to clipboard

"Run Keyword And Ignore Error" child keywords status taken into account by Report Portal

Open CorentinHache opened this issue 1 year ago • 0 comments

Describe the bug

The "Run Keyword and ignore error" child keywords status are taken into account by report portal. While the error status and messages of these keyword should be ignored by Report Portal, the messages appear in the "Unique Error" and in the Investigation page.

Steps to Reproduce

  • Write de Robot Framework Code with some "Run Keyword and ignore error" and a failed step at the end
  • Execute it and push it to Report Portal
*** Test Cases ***
Test Report Portal Logs
    Run Keyword And Ignore Error    Failed Keyword
    Run Keyword And Ignore Error    Failed Keyword
    Run Keyword And Ignore Error    Failed Keyword
    Fail    msg=The reason why the test is failed

*** Keywords ***
Failed Keyword
    Fail    msg=To be ignored
Capture d’écran 2024-07-18 à 10 57 23

Expected behavior "Run Keyword and ignore error" child keywords should not be taken into account and not be displayed in the Unique Error and Investigation pages

Actual behavior "Run Keyword and ignore error" child keywords are taken into account and displayed in the Unique Error and Investigation pages

Package versions robotframework_reportportal-5.5.3

CorentinHache avatar Jul 18 '24 08:07 CorentinHache