Fixed copy sql to query tool feature test

This commit is contained in:
Pravesh Sharma 2022-10-10 12:06:47 +05:30 committed by GitHub
parent f79844e926
commit 176ea5949b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -138,7 +138,7 @@ class CopySQLFeatureTest(BaseFeatureTest):
option_node = self.page.find_by_xpath(
"//*[@id='treeContainer']//div//span[text()="
"'Results grid']//preceding::span[text()='Options']")
"'Results grid']//preceding::span[text()='Options'][1]")
# self.page.check_if_element_exists_with_scroll(option_node)
self.page.driver.execute_script("arguments[0].scrollIntoView(false)",
option_node)