Fixed an issue where a long time is taken to launch pgAdmin in debug mode for feature tests.

This commit is contained in:
Yogesh Mahajan
2021-04-14 11:56:38 +05:30
committed by Akshay Joshi
parent f07463024c
commit 4ee40e348c
2 changed files with 33 additions and 18 deletions

View File

@@ -1332,8 +1332,9 @@ def launch_url_in_browser(driver_instance, url, title='pgAdmin 4', timeout=50):
if count == 0:
print(str(e))
exception_msg = 'Web-page title did not match to {0}. ' \
'Please check url {1} accessible on ' \
'internet.'.format(title, url)
'Waited for {1} seconds Please check url {2}' \
' accessible on internet.'.\
format(title, timeout, url)
raise WebDriverException(exception_msg)