Closed rdagum closed 3 years ago
I believe the problems are on these lines: https://github.com/reportportal/agent-Python-RobotFramework/blob/4ef8e7f09353466a6147a27f1f6eeccc8590895a/robotframework_reportportal/model.py#L33
@rdagum The problem is only at line 33 of the model.py. Can you try changes from #89? Thanks.
Information is flowing better now but I got this error in the console (not sure what the impact is in the result):
And I also noticed that Suite Setup / Teardowns are shown as "Test" in method type:
It looks like the error is caused because RF4 now reports steps that were not executed when there's a failure.
@rdagum, I've updated PR. Everything seems running smoothly on my side. Can you confirm that?
And I also noticed that Suite Setup / Teardowns are shown as "Test" in method type
Your suite structure depth is greater than 2 that is the maximum depth allowed by Report Portal. See this picture. All items which exceed that limit will be considered to be tests or steps.
Everything looks good now. Thanks for clarifying about the suite depth. Not a big deal as the total number of tests is correct.
RobotFramework 4 removed the critical/non-critical functionality from tests and that's causing the listener to fail.
[ ERROR ] Calling method 'start_test' of listener 'robotframework_reportportal.listener' failed: KeyError: 'critical' [ ERROR ] Calling method 'end_test' of listener 'robotframework_reportportal.listener' failed: KeyError: 'critical' Admin Navigates To Calendars Page | PASS |