@@ -173,3 +173,92 @@ Feature: Oracle sink- Verify Oracle sink plugin design time validation scenarios
173173 Then Enter input plugin property: "referenceName" with value: "sourceRef"
174174 Then Click on the Validate button
175175 Then Verify that the Plugin is displaying an error message: "errorMessageInvalidHost" on the header
176+
177+ @Oracle_Required
178+ Scenario : Verify the validation error message on header with blank database value
179+ Given Open Datafusion Project to configure pipeline
180+ When Expand Plugin group in the LHS plugins list: "Sink"
181+ When Select plugin: "Oracle" from the plugins list as: "Sink"
182+ Then Navigate to the properties page of plugin: "Oracle"
183+ Then Select dropdown plugin property: "select-jdbcPluginName" with option value: "driverName"
184+ Then Replace input plugin property: "host" with value: "host" for Credentials and Authorization related fields
185+ Then Replace input plugin property: "port" with value: "port" for Credentials and Authorization related fields
186+ Then Replace input plugin property: "user" with value: "username" for Credentials and Authorization related fields
187+ Then Replace input plugin property: "password" with value: "password" for Credentials and Authorization related fields
188+ Then Click plugin property: "switch-useConnection"
189+ Then Click on the Validate button
190+ Then Verify that the Plugin is displaying an error message: "blank.database.message" on the header
191+
192+ @ORACLE_SOURCE_DATATYPES_TEST @ORACLE_TARGET_DATATYPES_TEST @Oracle_Required
193+ Scenario : Verify the validation error message with blank password value
194+ Given Open Datafusion Project to configure pipeline
195+ When Expand Plugin group in the LHS plugins list: "Source"
196+ When Select plugin: "Oracle" from the plugins list as: "Source"
197+ When Expand Plugin group in the LHS plugins list: "Sink"
198+ When Select plugin: "Oracle" from the plugins list as: "Sink"
199+ Then Connect plugins: "Oracle" and "Oracle2" to establish connection
200+ Then Navigate to the properties page of plugin: "Oracle"
201+ Then Select dropdown plugin property: "select-jdbcPluginName" with option value: "driverName"
202+ Then Replace input plugin property: "host" with value: "host" for Credentials and Authorization related fields
203+ Then Replace input plugin property: "port" with value: "port" for Credentials and Authorization related fields
204+ Then Replace input plugin property: "user" with value: "username" for Credentials and Authorization related fields
205+ Then Replace input plugin property: "password" with value: "password" for Credentials and Authorization related fields
206+ Then Select radio button plugin property: "connectionType" with value: "service"
207+ Then Select radio button plugin property: "role" with value: "normal"
208+ Then Enter input plugin property: "referenceName" with value: "sourceRef"
209+ Then Replace input plugin property: "database" with value: "databaseName"
210+ Then Enter textarea plugin property: "importQuery" with value: "selectQuery"
211+ Then Click on the Get Schema button
212+ Then Verify the Output Schema matches the Expected Schema: "outputDatatypesSchema"
213+ Then Validate "Oracle" plugin properties
214+ Then Close the Plugin Properties page
215+ Then Navigate to the properties page of plugin: "Oracle2"
216+ Then Select dropdown plugin property: "select-jdbcPluginName" with option value: "driverName"
217+ Then Replace input plugin property: "host" with value: "host" for Credentials and Authorization related fields
218+ Then Replace input plugin property: "port" with value: "port" for Credentials and Authorization related fields
219+ Then Replace input plugin property: "database" with value: "databaseName"
220+ Then Replace input plugin property: "tableName" with value: "targetTable"
221+ Then Replace input plugin property: "dbSchemaName" with value: "schema"
222+ Then Replace input plugin property: "user" with value: "username" for Credentials and Authorization related fields
223+ Then Enter input plugin property: "referenceName" with value: "targetRef"
224+ Then Select radio button plugin property: "connectionType" with value: "service"
225+ Then Select radio button plugin property: "role" with value: "normal"
226+ Then Click on the Validate button
227+ Then Verify that the Plugin is displaying an error message: "blank.connection.message" on the header
228+
229+ @ORACLE_SOURCE_DATATYPES_TEST @ORACLE_TARGET_DATATYPES_TEST @Oracle_Required
230+ Scenario : Verify the validation error message with blank host value
231+ Given Open Datafusion Project to configure pipeline
232+ When Expand Plugin group in the LHS plugins list: "Source"
233+ When Select plugin: "Oracle" from the plugins list as: "Source"
234+ When Expand Plugin group in the LHS plugins list: "Sink"
235+ When Select plugin: "Oracle" from the plugins list as: "Sink"
236+ Then Connect plugins: "Oracle" and "Oracle2" to establish connection
237+ Then Navigate to the properties page of plugin: "Oracle"
238+ Then Select dropdown plugin property: "select-jdbcPluginName" with option value: "driverName"
239+ Then Replace input plugin property: "host" with value: "host" for Credentials and Authorization related fields
240+ Then Replace input plugin property: "port" with value: "port" for Credentials and Authorization related fields
241+ Then Replace input plugin property: "user" with value: "username" for Credentials and Authorization related fields
242+ Then Replace input plugin property: "password" with value: "password" for Credentials and Authorization related fields
243+ Then Select radio button plugin property: "connectionType" with value: "service"
244+ Then Select radio button plugin property: "role" with value: "normal"
245+ Then Enter input plugin property: "referenceName" with value: "sourceRef"
246+ Then Replace input plugin property: "database" with value: "databaseName"
247+ Then Enter textarea plugin property: "importQuery" with value: "selectQuery"
248+ Then Click on the Get Schema button
249+ Then Verify the Output Schema matches the Expected Schema: "outputDatatypesSchema"
250+ Then Validate "Oracle" plugin properties
251+ Then Close the Plugin Properties page
252+ Then Navigate to the properties page of plugin: "Oracle2"
253+ Then Select dropdown plugin property: "select-jdbcPluginName" with option value: "driverName"
254+ Then Replace input plugin property: "port" with value: "port" for Credentials and Authorization related fields
255+ Then Replace input plugin property: "database" with value: "databaseName"
256+ Then Replace input plugin property: "tableName" with value: "targetTable"
257+ Then Replace input plugin property: "dbSchemaName" with value: "schema"
258+ Then Replace input plugin property: "user" with value: "username" for Credentials and Authorization related fields
259+ Then Enter input plugin property: "referenceName" with value: "targetRef"
260+ Then Select radio button plugin property: "connectionType" with value: "service"
261+ Then Select radio button plugin property: "role" with value: "normal"
262+ Then Click on the Validate button
263+ Then Verify that the Plugin is displaying an error message: "blank.connection.message" on the header
264+
0 commit comments