Skip to content

Commit a028f9f

Browse files
committed
Update the default timeout for asserting downloaded files
1 parent 0d9e276 commit a028f9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

seleniumbase/fixtures/base_case.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2853,8 +2853,8 @@ def is_downloaded_file_present(self, file):
28532853
def assert_downloaded_file(self, file, timeout=None):
28542854
""" Asserts that the file exists in the Downloads Folder. """
28552855
if not timeout:
2856-
timeout = settings.SMALL_TIMEOUT
2857-
if self.timeout_multiplier and timeout == settings.SMALL_TIMEOUT:
2856+
timeout = settings.LARGE_TIMEOUT
2857+
if self.timeout_multiplier and timeout == settings.LARGE_TIMEOUT:
28582858
timeout = self.__get_new_timeout(timeout)
28592859
start_ms = time.time() * 1000.0
28602860
stop_ms = start_ms + (timeout * 1000.0)

0 commit comments

Comments
 (0)