Un-break the feature tests. Fixes from Surinder and myself.
parent
4b846ae4e0
commit
2b4a8ed89c
|
@ -44,7 +44,7 @@ class CopySelectedQueryResultsFeatureTest(BaseFeatureTest):
|
||||||
time.sleep(5)
|
time.sleep(5)
|
||||||
self.page.find_by_partial_link_text("Tools").click()
|
self.page.find_by_partial_link_text("Tools").click()
|
||||||
self.page.find_by_partial_link_text("Query Tool").click()
|
self.page.find_by_partial_link_text("Query Tool").click()
|
||||||
self.page.click_tab('Query-1')
|
self.page.click_tab('Query -')
|
||||||
time.sleep(5)
|
time.sleep(5)
|
||||||
ActionChains(self.page.driver).send_keys("SELECT * FROM test_table ORDER BY some_column").perform()
|
ActionChains(self.page.driver).send_keys("SELECT * FROM test_table ORDER BY some_column").perform()
|
||||||
self.page.driver.switch_to_frame(self.page.driver.find_element_by_tag_name("iframe"))
|
self.page.driver.switch_to_frame(self.page.driver.find_element_by_tag_name("iframe"))
|
||||||
|
|
|
@ -90,7 +90,7 @@ class QueryToolJourneyTest(BaseFeatureTest):
|
||||||
time.sleep(5)
|
time.sleep(5)
|
||||||
self.page.find_by_partial_link_text("Tools").click()
|
self.page.find_by_partial_link_text("Tools").click()
|
||||||
self.page.find_by_partial_link_text("Query Tool").click()
|
self.page.find_by_partial_link_text("Query Tool").click()
|
||||||
self.page.click_tab('Query-1')
|
self.page.click_tab('Query -')
|
||||||
time.sleep(5)
|
time.sleep(5)
|
||||||
|
|
||||||
def _execute_query(self, query):
|
def _execute_query(self, query):
|
||||||
|
|
|
@ -113,7 +113,7 @@ class PgadminPage:
|
||||||
try:
|
try:
|
||||||
self.driver.find_element_by_id("frmPassword")
|
self.driver.find_element_by_id("frmPassword")
|
||||||
# Enter password here if needed
|
# Enter password here if needed
|
||||||
self.click_modal_ok()
|
self.click_modal('OK')
|
||||||
except WebDriverException:
|
except WebDriverException:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue