mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-12-28 18:01:22 -06:00
Fixed feature test failure.
This commit is contained in:
parent
1b7dce124b
commit
3ad0862c59
@ -76,7 +76,7 @@ class CheckFileManagerFeatureTest(BaseFeatureTest):
|
||||
self.page.find_by_css_selector(QueryToolLocators.btn_save_file) \
|
||||
.click()
|
||||
# Set the XSS value in input
|
||||
WebDriverWait(self.driver, 10).until(EC.presence_of_element_located(
|
||||
WebDriverWait(self.driver, 15).until(EC.presence_of_element_located(
|
||||
(By.CSS_SELECTOR, ".change_file_types")))
|
||||
self.page.find_by_css_selector('.change_file_types')
|
||||
self.page.fill_input_by_css_selector(
|
||||
|
@ -82,7 +82,7 @@ class PGUtilitiesMaintenanceFeatureTest(BaseFeatureTest):
|
||||
self.page.click_modal('OK', True)
|
||||
self.page.wait_for_element_to_disappear(
|
||||
lambda driver: driver.find_element(
|
||||
By.XPATH, NavMenuLocators.maintenance_operation))
|
||||
By.XPATH, NavMenuLocators.maintenance_operation), 10)
|
||||
|
||||
# Wait for the backup status alertfier
|
||||
self.wait.until(EC.visibility_of_element_located(
|
||||
|
@ -78,7 +78,7 @@ class CheckDebuggerForXssFeatureTest(BaseFeatureTest):
|
||||
try:
|
||||
wait = WebDriverWait(self.page.driver, 2)
|
||||
is_error = wait.until(EC.presence_of_element_located(
|
||||
(By.XPATH, "//div[@class ='MuiDialogTitle-root']"
|
||||
(By.XPATH, "//div[contains(@class,'MuiDialogTitle-root')]"
|
||||
"//div[text()='Debugger Error']")
|
||||
))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user