@@ -167,3 +167,91 @@ Feature: MySQL Sink - Design time validation scenarios
167167 Then Enter input plugin property: "referenceName" with value: "targetRef"
168168 Then Click on the Validate button
169169 Then Verify that the Plugin is displaying an error message: "invalid.host.message" on the header
170+
171+ @Mysql_Required
172+ Scenario : Verify required fields missing validation messages
173+ Given Open Datafusion Project to configure pipeline
174+ When Expand Plugin group in the LHS plugins list: "Sink"
175+ When Select plugin: "MySQL" from the plugins list as: "Sink"
176+ Then Navigate to the properties page of plugin: "MySQL"
177+ Then Click on the Validate button
178+ Then Verify mandatory property error for below listed properties:
179+ | jdbcPluginName |
180+ | referenceName |
181+ | database |
182+ | tableName |
183+
184+ @Mysql_Required
185+ Scenario : Verify the validation error message with missing jdbc plugin name
186+ Given Open Datafusion Project to configure pipeline
187+ When Expand Plugin group in the LHS plugins list: "Sink"
188+ When Select plugin: "MySQL" from the plugins list as: "Sink"
189+ Then Navigate to the properties page of plugin: "MySQL"
190+ Then Select dropdown plugin property: "select-jdbcPluginName" with option value: "driverName"
191+ Then Replace input plugin property: "host" with value: "host" for Credentials and Authorization related fields
192+ Then Replace input plugin property: "port" with value: "port" for Credentials and Authorization related fields
193+ Then Replace input plugin property: "user" with value: "username" for Credentials and Authorization related fields
194+ Then Replace input plugin property: "password" with value: "password" for Credentials and Authorization related fields
195+ Then Click plugin property: "switch-useConnection"
196+ Then Click on the Validate button
197+ Then Verify that the Plugin is displaying an error message: "blank.jdbcPluginName.message" on the header
198+
199+ @MYSQL_SOURCE_TEST @MYSQL_TARGET_TEST @Mysql_Required
200+ Scenario : Verify the validation error message with blank password value
201+ Given Open Datafusion Project to configure pipeline
202+ When Expand Plugin group in the LHS plugins list: "Source"
203+ When Select plugin: "MySQL" from the plugins list as: "Source"
204+ When Expand Plugin group in the LHS plugins list: "Sink"
205+ When Select plugin: "MySQL" from the plugins list as: "Sink"
206+ Then Connect plugins: "MySQL" and "MySQL2" to establish connection
207+ Then Navigate to the properties page of plugin: "MySQL"
208+ Then Select dropdown plugin property: "select-jdbcPluginName" with option value: "driverName"
209+ Then Replace input plugin property: "host" with value: "host" for Credentials and Authorization related fields
210+ Then Replace input plugin property: "port" with value: "port" for Credentials and Authorization related fields
211+ Then Replace input plugin property: "user" with value: "username" for Credentials and Authorization related fields
212+ Then Replace input plugin property: "password" with value: "password" for Credentials and Authorization related fields
213+ Then Enter input plugin property: "referenceName" with value: "sourceRef"
214+ Then Replace input plugin property: "database" with value: "databaseName"
215+ Then Enter textarea plugin property: "importQuery" with value: "selectQuery"
216+ Then Validate "MySQL" plugin properties
217+ Then Close the Plugin Properties page
218+ Then Navigate to the properties page of plugin: "MySQL2"
219+ Then Select dropdown plugin property: "select-jdbcPluginName" with option value: "driverName"
220+ Then Replace input plugin property: "host" with value: "host" for Credentials and Authorization related fields
221+ Then Replace input plugin property: "port" with value: "port" for Credentials and Authorization related fields
222+ Then Replace input plugin property: "user" with value: "username" for Credentials and Authorization related fields
223+ Then Replace input plugin property: "database" with value: "databaseName"
224+ Then Replace input plugin property: "tableName" with value: "targetTable"
225+ Then Enter input plugin property: "referenceName" with value: "targetRef"
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+ @MYSQL_SOURCE_TEST @MYSQL_TARGET_TEST @Mysql_Required
230+ Scenario : Verify the validation error message with blank port value
231+ Given Open Datafusion Project to configure pipeline
232+ When Expand Plugin group in the LHS plugins list: "Source"
233+ When Select plugin: "MySQL" from the plugins list as: "Source"
234+ When Expand Plugin group in the LHS plugins list: "Sink"
235+ When Select plugin: "MySQL" from the plugins list as: "Sink"
236+ Then Connect plugins: "MySQL" and "MySQL2" to establish connection
237+ Then Navigate to the properties page of plugin: "MySQL"
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 Enter input plugin property: "referenceName" with value: "sourceRef"
244+ Then Replace input plugin property: "database" with value: "databaseName"
245+ Then Enter textarea plugin property: "importQuery" with value: "selectQuery"
246+ Then Validate "MySQL" plugin properties
247+ Then Close the Plugin Properties page
248+ Then Navigate to the properties page of plugin: "MySQL2"
249+ Then Select dropdown plugin property: "select-jdbcPluginName" with option value: "driverName"
250+ Then Replace input plugin property: "host" with value: "host" for Credentials and Authorization related fields
251+ Then Replace input plugin property: "user" with value: "username" for Credentials and Authorization related fields
252+ Then Replace input plugin property: "database" with value: "databaseName"
253+ Then Replace input plugin property: "tableName" with value: "targetTable"
254+ Then Replace input plugin property: "password" with value: "password" for Credentials and Authorization related fields
255+ Then Enter input plugin property: "referenceName" with value: "targetRef"
256+ Then Click on the Validate button
257+ Then Verify that the Plugin is displaying an error message: "blank.connection.message" on the header
0 commit comments