pgAdmin 4 commit: Fix some more feature tests:

From: Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com>
To: pgadmin-hackers(at)lists(dot)postgresql(dot)org
Subject: pgAdmin 4 commit: Fix some more feature tests:
Date: 2019-11-20 07:38:12
Message-ID: E1iXKZ2-0006Cf-9p@gothos.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

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(dot)agarwal(at)enterprisedb(dot)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(-)

Browse pgadmin-hackers by date

  From Date Subject
Next Message Akshay Joshi 2019-11-20 07:39:35 Re: Fixes for pgAdmin feature tests
Previous Message Shubham Agarwal 2019-11-20 07:03:55 Re: Fixes for pgAdmin feature tests