Removed old path library used to validate client secret path while google authentication. #5750

This commit is contained in:
Yogesh Mahajan
2023-03-28 11:27:16 +05:30
committed by GitHub
parent c78904501d
commit fc0e36b313
2 changed files with 5 additions and 4 deletions

View File

@@ -62,14 +62,16 @@ class PgadminPage:
self.driver.refresh()
try:
WebDriverWait(self.driver, 3).until(EC.alert_is_present())
self.driver.switch_to_alert().accept()
self.driver.switch_to.alert.accept()
attempt = attempt + 1
except TimeoutException:
attempt = attempt + 1
self.click_element(self.find_by_css_selector(
"li[data-label='Reset Layout']"))
self.click_modal('OK')
self.click_modal('Yes')
if WebDriverWait(self.driver, 3).until(EC.alert_is_present()):
self.driver.switch_to.alert.accept()
self.wait_for_reloading_indicator_to_disappear()
def refresh_page(self):