Added logging for feature test failure on jenkins job.

This commit is contained in:
Yogesh Mahajan
2023-02-10 12:39:42 +05:30
committed by GitHub
parent b0846908da
commit ff877d6e91
4 changed files with 11 additions and 0 deletions

View File

@@ -1371,6 +1371,7 @@ def launch_url_in_browser(driver_instance, url, title='pgAdmin 4', timeout=50):
driver_instance.get(url)
wait = WebDriverWait(driver_instance, 10)
wait.until(ec.title_is(title))
print("pgAdmin launched in browser", file=sys.stderr)
break
except WebDriverException as e:
time.sleep(6)