mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Write a JSON file when regression tests run, listing results.
This commit is contained in:
committed by
Dave Page
parent
b8566a0127
commit
dd23f71478
@@ -18,6 +18,9 @@ class ConnectsToServerFeatureTest(BaseFeatureTest):
|
||||
"""
|
||||
Tests that a database connection can be created from the UI
|
||||
"""
|
||||
scenarios = [
|
||||
("Test database connection", dict())
|
||||
]
|
||||
|
||||
def before(self):
|
||||
connection = test_utils.get_db_connection(self.server['db'],
|
||||
@@ -30,6 +33,8 @@ class ConnectsToServerFeatureTest(BaseFeatureTest):
|
||||
test_utils.create_table(self.server, "acceptance_test_db", "test_table")
|
||||
|
||||
def runTest(self):
|
||||
"""This function tests that a database connection can be created from
|
||||
the UI"""
|
||||
self.assertEqual(app_config.APP_NAME, self.page.driver.title)
|
||||
self.page.wait_for_spinner_to_disappear()
|
||||
|
||||
|
||||
@@ -12,6 +12,12 @@ from regression.python_test_utils import test_utils
|
||||
|
||||
|
||||
class TableDdlFeatureTest(BaseFeatureTest):
|
||||
""" This class test acceptance test scenarios """
|
||||
|
||||
scenarios = [
|
||||
("Test table DDL generation", dict())
|
||||
]
|
||||
|
||||
def before(self):
|
||||
connection = test_utils.get_db_connection(self.server['db'],
|
||||
self.server['username'],
|
||||
|
||||
Reference in New Issue
Block a user