Skip to content

Commit

Permalink
[6.15.z] extra check not recording property incase of video recording…
Browse files Browse the repository at this point in the history
… is false (#13561)

extra check not recording property incase of video recording is false (#13475)

(cherry picked from commit 61219a1)

Co-authored-by: Omkar Khatavkar <[email protected]>
  • Loading branch information
Satellite-QE and omkarkhatavkar authored Dec 27, 2023
1 parent f3a0276 commit 76cf851
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions robottelo/hosts.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 76cf851

Please sign in to comment.