Skip to content

Commit d09430d

Browse files
committed
Small refactoring of exported SeleniumBase tours
1 parent b330342 commit d09430d

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

seleniumbase/core/tour_helper.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@
1111
from seleniumbase.fixtures import constants
1212
from seleniumbase.fixtures import js_utils
1313
from seleniumbase.fixtures import page_actions
14-
15-
EXPORTED_TOURS_FOLDER = "tours_exported"
14+
EXPORTED_TOURS_FOLDER = constants.Tours.EXPORTED_TOURS_FOLDER
1615

1716

1817
def activate_bootstrap(driver):

seleniumbase/fixtures/constants.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ class SavedCookies:
2323
STORAGE_FOLDER = "saved_cookies"
2424

2525

26+
class Tours:
27+
EXPORTED_TOURS_FOLDER = "tours_exported"
28+
29+
2630
class VisualBaseline:
2731
STORAGE_FOLDER = "visual_baseline"
2832

0 commit comments

Comments
 (0)