Yogesh Mahajan
34f160cec7
Allow changing the POOL_SIZE and MAX_OVERFLOW config values of the pgAdmin config DB connection pool. #6208
2023-08-16 15:29:11 +05:30
Yogesh Mahajan
eef295f9d8
Fixed feature tests failing due to selenium upgrade to 4.10.0.
2023-06-19 11:43:28 +05:30
Aditya Toshniwal
05938fa6e1
Update yarn.lock to support latest version of yarn
2023-04-25 12:27:55 +05:30
Aditya Toshniwal
7e2add8db1
Python test famework should log only relevant exception and exit with a non-zero code on error. #6157
2023-04-20 13:33:17 +05:30
Yogesh Mahajan
686f52f636
Do not treat database deletion errors as Feature test failures.
2023-04-17 11:47:08 +05:30
Yogesh Mahajan
993e1eb1b6
Allow on demand record count setting to be changed per user using preferences. #3275
2023-04-13 16:43:11 +05:30
Yogesh Mahajan
48f2e2744c
Fixed feature tests failures occurred due to psycopg3 changes.
2023-03-14 17:51:14 +05:30
Khushboo Vashi
5e0daccf76
Added support for psycopg3 along with psycopg2. #5011
2023-02-15 11:31:29 +05:30
Yogesh Mahajan
026334a71a
Removed logging added for feature test failure. Added more assets to avoid false failures.
2023-02-13 11:58:54 +05:30
Yogesh Mahajan
ff877d6e91
Added logging for feature test failure on jenkins job.
2023-02-10 12:39:42 +05:30
Akshay Joshi
98184e5835
Update copyright notices for 2023
2023-01-02 11:53:55 +05:30
Yogesh Mahajan
7710d5e21c
Ensure the query tool is launched successfully for the servers registered with the PostgreSQL service. #5575
2022-11-28 17:23:43 +05:30
Mark Mayo
41508f7f67
python 3 updates
...
- Fix super() calls for python 3
- No need to inherit objects.
- No need for u at the start of strings
- Tidied up some brackets and f-strings too
2022-11-19 10:13:41 +05:30
Akshay Joshi
1d0ac0f7dc
Moved the feature_tests folder into the regression folder.
2022-09-06 13:59:33 +05:30
Akshay Joshi
084203debc
Fixed Securtiy Hotspot reported by SonarQube.
2022-08-12 17:10:26 +05:30
Yogesh Mahajan
95f63f6af8
Fixed feature tests.
2022-06-22 17:47:09 +05:30
Aditya Toshniwal
ca8e14455f
Fixed the following issues:
...
1. Feature test cases for the new query tool.
2. Query tool panel rename is not persisting.
2022-05-12 18:29:09 +05:30
Akshay Joshi
2786f7ac5a
Update copyright notices for 2022
2022-01-04 13:54:25 +05:30
Yogesh Mahajan
b921a55c46
Adds flexibility to wait for launching pgAdmin in feature test.
2021-11-22 18:05:30 +05:30
Yogesh Mahajan
246bb01736
Fixed feature test cases.
2021-11-18 17:13:32 +05:30
Yogesh Mahajan
9479f0e632
Fixed feature test cases after react porting.
2021-11-10 11:50:20 +05:30
Khushboo Vashi
48ca83f31d
Added support for OAuth 2 authentication. Fixes #5940
...
Initial patch sent by: Florian Sabonchi
2021-07-06 13:22:58 +05:30
Yogesh Mahajan
b2042f48cd
Added RESQL/MSQL test cases for Table and its child nodes. Fixes #4622
2021-06-09 18:16:50 +05:30
Yogesh Mahajan
2d58f60a53
Modifies the way to execute feature tests in parallel and it should be configured in Server Mode.
2021-05-27 11:01:25 +05:30
Yogesh Mahajan
4ee40e348c
Fixed an issue where a long time is taken to launch pgAdmin in debug mode for feature tests.
2021-04-14 11:56:38 +05:30
Khushboo Vashi
c0ef0a893d
1) Added support for Kerberos authentication, using SPNEGO to forward the Kerberos tickets through a browser. Fixes #5457
...
2) Fixed incorrect log information for AUTHENTICATION_SOURCES. Fixes #5829
2021-01-18 16:32:10 +05:30
Akshay Joshi
f0debdd513
Revert "1) Added support for Kerberos authentication, using SPNEGO to forward the Kerberos tickets through a browser. Fixes #5457 "
...
This reverts commit 6ead597b43
.
2021-01-14 14:46:59 +05:30
Khushboo Vashi
6ead597b43
1) Added support for Kerberos authentication, using SPNEGO to forward the Kerberos tickets through a browser. Fixes #5457
...
2) Fixed incorrect log information for AUTHENTICATION_SOURCES. Fixes #5829
2021-01-14 13:46:48 +05:30
Akshay Joshi
b372f08a59
Update copyright notices for 2021
2021-01-04 15:34:45 +05:30
Yogesh Mahajan
d1f5511566
Improve code coverage and API test cases for pgAgent. Fixes #5338
2020-12-31 13:52:14 +05:30
Aditya Toshniwal
ca4db8871e
Ensure that code coverage should cover class and function declarations. Fixes #6062
2020-12-06 19:16:17 +05:30
Cyril Jouve
5a253f9053
Change the following to replace Python 2 code with Python 3:
...
1) Replace the deprecated unit test method.
2) Wraps filter usage in a list call.
3) Converts the old metaclass syntax to new.
4) Use range instead of xrange method.
5) Change Unicode to str.
6) Several other transformations.
7) Fixed change password test cases.
8) Use simplejson instead of plain JSON.
2020-08-31 16:45:31 +05:30
Yogesh Mahajan
0668a52c6b
Fixed following SonarQube issues:
...
1. String literals should not be duplicated.
2. Cognitive Complexity of functions should not be too high.
2020-08-19 13:22:17 +05:30
Aditya Toshniwal
d6400bbcae
Replace the generic exception class with a more specific one.
2020-08-07 12:37:00 +05:30
Aditya Toshniwal
536593bf8a
Fixed following SonarQube issues:
...
- Remove this assignment to the local variable, the value is never used.
- Rename local variables to match the regular expression
- Add logic to this except clause or eliminate it and rethrow the exception automatically.
- Rename fields to match the regular expression
- Extract this nested conditional expression into an independent statement.
- Change this default value to "None" and initialize this parameter inside the function/method.
- Update this function so that its implementation is not identical to __repr__
- Refactor this method to not always return the same value
- Reraise this exception to stop the application as the user expects
- Add missing parameters _w _PY3. This method overrides simplejson.decoder.JSONDecoder.decode.
- Remove this redundant continue.
- Remove this unused function declaration
- Remove this identity check; it will always be False.
2020-08-03 12:59:51 +05:30
Cyril Jouve
f93cfe8c4c
Remove old Python 2 compatibility code. Fixes #5700
2020-07-27 11:03:13 +01:00
Aditya Toshniwal
505a3ac960
1) Fixed cognitive complexity issues reported by SonarQube.
...
2) Fixed code smell 'Add a nested comment explaining why this method is
empty, or complete the implementation'.
2020-07-24 11:46:30 +05:30
Yogesh Mahajan
225c3e8f7e
Fixed feature tests
2020-07-20 11:59:28 +05:30
Yogesh Mahajan
34fbe756e8
1) Fixes parallel test execution failures.
...
2) Added capability to pass browser-name via command line for parallel execution.
2020-06-22 13:05:13 +05:30
Aditya Toshniwal
641f7bbe9d
Some clumsy coding related fixes reported by SonarQube.
2020-06-15 16:50:07 +05:30
Yogesh Mahajan
d927a517aa
Fixed feature test failures on the selenium grid for concurrent execution.
2020-05-21 19:44:28 +05:30
Yogesh Mahajan
1294c089a8
Implement Selenium Grid to run multiple tests across different browsers, operating systems, and machines in parallel. Fixes #5255
2020-05-11 12:11:31 +05:30
Dave Page
7dd00a1494
Raise an exception under Python < 3.4.
...
It also cleans up the README to remove references to Python 2
and removes Python 2-isms from the main config.
refs #5443
2020-04-30 14:17:00 +05:30
Khushboo Vashi
f77aa3284f
Added LDAP authentication support. Fixes #2186
2020-04-06 15:57:05 +05:30
Pradip Parkale
ed279cac31
Improve the test framework to run for multiple classes defined in a single file. Fixes #5071 .
2020-01-10 11:48:36 +05:30
Navnath Gadakh
66f5a40cd9
Added code coverage tool for pgAdmin. Fixes #5048 .
2020-01-03 19:00:08 +05:30
Dave Page
01c7636c75
Update copyright notices for 2020.
2020-01-02 14:43:50 +00:00
Dave Page
8cb239abcb
Rename some internal environment variables that could conflict with Kubernetes. Fixes #4999 .
2019-12-13 10:42:43 +05:30
Shubham Agarwal
dc47c8f898
Fixed following feature tests:
...
1. Process watcher loading logs fix
2. Auto commit/rollback issue in query_tool_tests
3. Fixed the scrolling issue while verifying values in a table.
4. Modified some functions in pgadmin_page.py
2019-11-15 18:02:17 +05:30
Aditya Toshniwal
db7a2e3023
Add a --modules option to the RE-SQL test suite to allow testing of specific object types. Fixes #4560
2019-08-06 13:43:49 +01:00