Skip to content

Commit

Permalink
Set Selenium timeouts explicitly
Browse files Browse the repository at this point in the history
Signed-off-by: Marcin Sobczyk <msobczyk@redhat.com>
  • Loading branch information
tinez committed Oct 4, 2022
1 parent efea54e commit 075adc5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions basic-suite-master/test-scenarios/test_100_basic_ui_sanity.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ def ovirt_driver(
for i in range(5):
try:
driver = webdriver.Remote(command_executor=selenium_grid_url, options=selenium_browser_options)
driver.implicitly_wait(5)
driver.set_script_timeout(5)
break
except Exception as e:
LOGGER.exception(f'Failed to create driver {i}')
Expand Down

0 comments on commit 075adc5

Please sign in to comment.