diff --git a/web/pgadmin/feature_tests/copy_selected_query_results_feature_test.py b/web/pgadmin/feature_tests/copy_selected_query_results_feature_test.py index 2f5b3786..fc754c74 100644 --- a/web/pgadmin/feature_tests/copy_selected_query_results_feature_test.py +++ b/web/pgadmin/feature_tests/copy_selected_query_results_feature_test.py @@ -44,7 +44,7 @@ class CopySelectedQueryResultsFeatureTest(BaseFeatureTest): time.sleep(5) self.page.find_by_partial_link_text("Tools").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) 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")) diff --git a/web/pgadmin/feature_tests/query_tool_journey_test.py b/web/pgadmin/feature_tests/query_tool_journey_test.py index 0766193e..8d49fc10 100644 --- a/web/pgadmin/feature_tests/query_tool_journey_test.py +++ b/web/pgadmin/feature_tests/query_tool_journey_test.py @@ -90,7 +90,7 @@ class QueryToolJourneyTest(BaseFeatureTest): time.sleep(5) self.page.find_by_partial_link_text("Tools").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) def _execute_query(self, query):