1) Fixed feature test and API test cases.

2) Added logic to exclude RESQL test cases.
This commit is contained in:
Akshay Joshi 2020-04-22 13:57:32 +05:30
parent b29bc6868c
commit 4c616f32eb
5 changed files with 11 additions and 5 deletions

View File

@ -95,7 +95,7 @@ FROM
jexscid, array_agg(jexid) AS jexid, array_agg(to_char(jexdate, 'YYYY-MM-DD')) AS jexdate,
array_agg(jextime) AS jextime
FROM
pgagent.pga_exception ex
(SELECT * FROM pgagent.pga_exception ORDER BY jexid) ex
GROUP BY
jexscid
) e ON s.jscid = e.jexscid

View File

@ -29,7 +29,8 @@
},
"copy": {
"1": [2, "2", "int"],
"2": ["1", "1", "int"]
"2": ["1", "1", "int"],
"5": ["\"\"", "", "text"]
},
"update": {
"4": ["Hello World Again", "Hello World Again", "text"]

View File

@ -66,8 +66,10 @@ class TestsGeneratorRegistry(ABCMeta):
all_modules = []
all_modules += find_modules(pkg_root, False, True)
# Append reverse engineered test case module
all_modules.append('regression.re_sql.tests.test_resql')
if 'resql' not in exclude_pkgs:
# Append reverse engineered test case module
all_modules.append('regression.re_sql.tests.test_resql')
# If specific modules are to be tested, exclude others
# for modules are handled differently for resql

View File

@ -190,6 +190,9 @@ Python Tests:
Example 2) Execute only reverse engineered SQL test framework for some modules
run 'python runtests.py --pkg resql --modules sequences,functions'
Example 3) Exclude reverse engineered SQL test framework for all modules
run 'python runtests.py --exclude resql'
Code Coverage:
---------------

View File

@ -271,7 +271,7 @@ class PgadminPage:
self.click_element(object_menu_item)
delete_menu_item = self.find_by_partial_link_text("Remove Server")
self.click_element(delete_menu_item)
self.click_modal('OK')
self.click_modal('Yes')
def select_tree_item(self, tree_item_text):
item = self.find_by_xpath(