mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-28 03:23:52 -06:00
5c3c543d2e
- Test framework support API testing with multiple server for this we need to modify test_config.json(for user it’s test_config.json.in) and test_advanced_config.json(for user it’s test_advanced_config.json.in). Server details of PG and PPAS are included in both .in files. - Removed the logic of logging in the test client on each test scenario(As per Khushboo's comment in previous email). We need this logic in test cases under ‘browser/tests/’ as for test scenarios like change password and invalid login test cases as test client should be logged out first. So, as per this the code is slightly modified in ‘browser/tests/’.
35 lines
1004 B
JSON
35 lines
1004 B
JSON
{
|
|
"pgAdmin4_login_credentials": {
|
|
"test_new_password": "NEWPASSWORD",
|
|
"test_login_password": "PASSWORD",
|
|
"test_login_username": "USER@EXAMPLE.COM"
|
|
},
|
|
"test_server_group": 1,
|
|
"test_server_credentials": [
|
|
{
|
|
"test_name": "PostgreSQL 9.4",
|
|
"test_comment": "PostgreSQL 9.4 Server (EDB Installer)",
|
|
"test_db_username": "postgres",
|
|
"test_host": "localhost",
|
|
"test_db_password": "PASSWORD",
|
|
"test_db_port": 5432,
|
|
"test_maintenance_db": "postgres",
|
|
"test_sslmode": "prefer"
|
|
},
|
|
{
|
|
"test_name": "Postgres Plus Advanced Server 9.4",
|
|
"test_comment": "Postgres Plus Advanced 9.4 Server (EDB Installer)",
|
|
"test_db_username": "enterprisedb",
|
|
"test_host": "localhost",
|
|
"test_db_password": "edb",
|
|
"test_db_port": 5444,
|
|
"test_maintenance_db": "edb",
|
|
"test_sslmode": "prefer"
|
|
}
|
|
],
|
|
"test_server_update_data": [
|
|
{
|
|
"test_comment": "This is test update comment"
|
|
}
|
|
]
|
|
} |