Fix some more feature tests:
1. Added an attribute 'data-click-counter' in query execute button which gets incremented
once query button is clicked up to 9 and then reset to 0. This is added just to support automation.
2. Locator for login_group_role is added and used to expand tree.
3. Functions for enabling and disable auto_commit and auto_rollback are made more precise.
4. Some scrolling problem is addressed in view_data_dml_query test.
5. Handled the stale element reference exception in query_tool_journey_test
Branch
------
master
Details
-------
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=425cc2a96653a0d8babcdab536ef91d6c2f20da0
Author: Shubham Agarwal <shubham.agarwal@enterprisedb.com>
Modified Files
--------------
.../feature_tests/query_tool_journey_test.py | 9 ++-
web/pgadmin/feature_tests/query_tool_tests.py | 48 +++-------------
web/pgadmin/feature_tests/view_data_dml_queries.py | 7 +--
.../feature_tests/xss_checks_roles_control_test.py | 4 +-
.../tools/datagrid/templates/datagrid/index.html | 2 +-
web/pgadmin/tools/sqleditor/static/js/sqleditor.js | 4 ++
web/regression/feature_utils/pgadmin_page.py | 64 +++++++++++++++++-----
web/regression/feature_utils/tree_area_locators.py | 4 ++
8 files changed, 82 insertions(+), 60 deletions(-)