graphdb-workbench-tests 2.3.0-TR10 → 2.3.0-TR11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -89,7 +89,7 @@ describe('Ontop repositories', () => {
|
|
|
89
89
|
OntopRepositorySteps.getHostNameInput().type(hostName);
|
|
90
90
|
|
|
91
91
|
// Then I expect url to be filed with the host name.
|
|
92
|
-
OntopRepositorySteps.getUrlInput().should('have.value', 'jdbc:mysql://localhost/{database}
|
|
92
|
+
OntopRepositorySteps.getUrlInput().should('have.value', 'jdbc:mysql://localhost/{database}');
|
|
93
93
|
|
|
94
94
|
// When I click on create repository button.
|
|
95
95
|
OntopRepositorySteps.clickOnCreateRepositoryButton();
|
|
@@ -99,6 +99,17 @@ describe('Ontop repositories', () => {
|
|
|
99
99
|
|
|
100
100
|
// When I change the database driver for which the port field is required,
|
|
101
101
|
OntopRepositorySteps.selectOracleDatabase();
|
|
102
|
+
|
|
103
|
+
// Then I expect host name to be cleared,
|
|
104
|
+
// and if click on create repository button.
|
|
105
|
+
OntopRepositorySteps.clickOnCreateRepositoryButton();
|
|
106
|
+
|
|
107
|
+
// Then I expect to see error message that describes host name field is empty.
|
|
108
|
+
ToasterSteps.verifyError('Missing required field \'Host name\'');
|
|
109
|
+
|
|
110
|
+
// When I fill host name,
|
|
111
|
+
OntopRepositorySteps.getHostNameInput().type(hostName);
|
|
112
|
+
|
|
102
113
|
// and click on create repository button.
|
|
103
114
|
OntopRepositorySteps.clickOnCreateRepositoryButton();
|
|
104
115
|
|
|
@@ -109,7 +120,7 @@ describe('Ontop repositories', () => {
|
|
|
109
120
|
OntopRepositorySteps.getPortInput().type(5423);
|
|
110
121
|
|
|
111
122
|
// Then I expect url to be filed with the host name and port.
|
|
112
|
-
OntopRepositorySteps.getUrlInput().should('have.value', 'jdbc:oracle:thin:@localhost:5423:{database}
|
|
123
|
+
OntopRepositorySteps.getUrlInput().should('have.value', 'jdbc:oracle:thin:@localhost:5423:{database}');
|
|
113
124
|
|
|
114
125
|
// When I click on create repository button.
|
|
115
126
|
OntopRepositorySteps.clickOnCreateRepositoryButton();
|
|
@@ -121,7 +132,7 @@ describe('Ontop repositories', () => {
|
|
|
121
132
|
OntopRepositorySteps.getDatabaseNameInput().type('database-name');
|
|
122
133
|
|
|
123
134
|
// Then I expect url to be filed with the host name and port,
|
|
124
|
-
OntopRepositorySteps.getUrlInput().should('have.value', 'jdbc:oracle:thin:@localhost:5423:database-
|
|
135
|
+
OntopRepositorySteps.getUrlInput().should('have.value', 'jdbc:oracle:thin:@localhost:5423:database-name');
|
|
125
136
|
// and test connection button to be enabled.
|
|
126
137
|
OntopRepositorySteps.getTestConnectionButton().should('not.be.disabled');
|
|
127
138
|
});
|