mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-11-02 08:10:03 -06:00
Fix feature tests following button tooltip changes.
This commit is contained in:
1 parent
0ec74dfa89
commit
8df006343b
3 files changed
+6
-4
No files matched your search
@@ -63,8 +63,9 @@ class CheckDebuggerForXssFeatureTest(BaseFeatureTest):
|
||||
try:
|
||||
wait = WebDriverWait(self.page.driver, 2)
|
||||
is_error = wait.until(EC.presence_of_element_located(
|
||||
(By.XPATH, "//div[contains(@class,'ajs-header')]"))
|
||||
(By.XPATH, "//div[contains(@class, 'alertify') and not(contains(@class, 'ajs-hidden'))]//div[contains(@class,'ajs-header')]"))
|
||||
)
|
||||
|
||||
except TimeoutException as e:
|
||||
is_error = None
|
||||
|
||||
|
||||
Reference in new issue
Block a user