agent-Python-RobotFramework
agent-Python-RobotFramework copied to clipboard
"Run Keyword And Ignore Error" child keywords status taken into account by Report Portal
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
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