Skip to content

Commit 3a61fa6

Browse files
committed
Fix filename issue with Case Plans
1 parent ec69767 commit 3a61fa6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

seleniumbase/console_scripts/sb_caseplans.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,9 @@ def show_no_case_plans_warning():
7171

7272
def get_test_id(display_id):
7373
"""The id used in various places such as the test log path."""
74-
return display_id.replace(".py::", ".").replace("::", ".")
74+
return (
75+
display_id.replace(".py::", ".").replace("::", ".").replace(" ", "_")
76+
)
7577

7678

7779
def generate_case_plan_boilerplates(

0 commit comments

Comments
 (0)