diff --git a/pytest_reportportal/service.py b/pytest_reportportal/service.py index 1e6e486..c66b679 100644 --- a/pytest_reportportal/service.py +++ b/pytest_reportportal/service.py @@ -683,6 +683,7 @@ def _build_finish_step_rq(self, leaf): if status == 'PASSED': issue = None payload = { + 'attributes': leaf.get('attributes', None), 'end_time': timestamp(), 'status': status, 'issue': issue, @@ -741,6 +742,7 @@ def finish_pytest_item(self, test_item): path = self._tree_path[test_item] leaf = path[-1] + self._process_attributes(leaf) self._finish_step(self._build_finish_step_rq(leaf)) leaf['exec'] = ExecStatus.FINISHED self._finish_parents(leaf)