diff --git a/robottelo/hosts.py b/robottelo/hosts.py index b4e4fdcc0c..143cb87588 100644 --- a/robottelo/hosts.py +++ b/robottelo/hosts.py @@ -1849,8 +1849,9 @@ def get_caller(): video_url = settings.ui.grid_url.replace( ':4444', f'/videos/{ui_session.ui_session_id}.mp4' ) - self.record_property('video_url', video_url) - self.record_property('session_id', ui_session.ui_session_id) + if self.record_property is not None and settings.ui.record_video: + self.record_property('video_url', video_url) + self.record_property('session_id', ui_session.ui_session_id) @property def satellite(self):