pgAdmin 4 commit: Additional feature test fixes:

From: Dave Page <dpage(at)pgadmin(dot)org>
To: pgadmin-hackers(at)lists(dot)postgresql(dot)org
Subject: pgAdmin 4 commit: Additional feature test fixes:
Date: 2018-10-17 10:50:27
Message-ID: E1gCjPH-0003Pn-Av@gothos.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Additional feature test fixes:

1) Changes required for working with Bootstrap 4.
2) Change to fix the timeout exception when waiting for element (tested multiple times on multiple server, did not occur to me thereafter)
3) Removed reset layout after each test case. Instead, delete the layout entry from sqlite db file and do a plain refresh. This will save some time and will also remove dependency on reset layout menu.
4) Disables tree state saving when feature test run starts. Feature tests got confused with auto expanding tree.

Branch
------
master

Details
-------
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=6fa6939f52c9c0ccea90e1ca6c1b7d8073d2f5d0
Author: Aditya Toshniwal <aditya(dot)toshniwal(at)enterprisedb(dot)com>

Modified Files
--------------
web/pgadmin/feature_tests/browser_tool_bar_test.py | 1 +
web/pgadmin/feature_tests/file_manager_test.py | 4 +-
.../feature_tests/keyboard_shortcut_test.py | 4 +-
.../feature_tests/pg_datatype_validation_test.py | 4 +-
.../pg_utilities_backup_restore_test.py | 13 ++-----
web/regression/feature_utils/base_feature_test.py | 4 +-
web/regression/feature_utils/pgadmin_page.py | 32 +++++++++------
web/regression/python_test_utils/test_utils.py | 45 ++++++++++++++++++++++
web/regression/runtests.py | 3 ++
9 files changed, 85 insertions(+), 25 deletions(-)

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2018-10-17 10:52:35 Re: [pgAdmin4][patch] Changes to stabilise feature tests
Previous Message Usman Muzaffar 2018-10-16 12:34:30 fixes for browser.tests api test cases