Skip to content

Commit

Permalink
test: start suffix from 2
Browse files Browse the repository at this point in the history
  • Loading branch information
saw-jan committed Sep 24, 2024
1 parent c20b7fa commit 0a175a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/gui/shared/scripts/bdd_hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ def save_screenrecord(filename):
for idx, video in enumerate(video_files):
if idx:
file_parts = filename.rsplit(".", 1)
filename = f"{file_parts[0]}_{idx}.{file_parts[1]}"
filename = f"{file_parts[0]}_{idx+1}.{file_parts[1]}"
shutil.move(video, os.path.join(screenrecords_dir, filename))

shutil.rmtree(prefix_path_namespace(video_dir))
Expand Down

0 comments on commit 0a175a4

Please sign in to comment.