Fixed following feature tests:

1) Handled click event in query tool due to intermediate clicking issue.
2) Observed that the database is not getting created in a test case, so failed the test case there only.
This commit is contained in:
Shubham Agarwal
2019-11-21 17:20:27 +05:30
committed by Akshay Joshi
parent 5316a28e6c
commit ae462ed099
3 changed files with 7 additions and 8 deletions

View File

@@ -171,10 +171,7 @@ class PgadminPage:
def execute_query(self, query):
self.fill_codemirror_area_with(query)
execute_button = self.find_by_css_selector(
QueryToolLocators.btn_execute_query_css)
execute_button.click()
self.wait_for_query_tool_loading_indicator_to_disappear()
self.click_execute_query_button()
def click_execute_query_button(self):
retry = 5