Fix feature tests following button tooltip changes.

This commit is contained in:
Khushboo Vashi authored and Dave Page committed 2018-01-23 10:01:20 +00:00
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