mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-10 23:45:58 -06:00
Fixed copy sql to query tool feature test
This commit is contained in:
parent
f79844e926
commit
176ea5949b
@ -138,7 +138,7 @@ class CopySQLFeatureTest(BaseFeatureTest):
|
|||||||
|
|
||||||
option_node = self.page.find_by_xpath(
|
option_node = self.page.find_by_xpath(
|
||||||
"//*[@id='treeContainer']//div//span[text()="
|
"//*[@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.check_if_element_exists_with_scroll(option_node)
|
||||||
self.page.driver.execute_script("arguments[0].scrollIntoView(false)",
|
self.page.driver.execute_script("arguments[0].scrollIntoView(false)",
|
||||||
option_node)
|
option_node)
|
||||||
|
Loading…
Reference in New Issue
Block a user