-
Notifications
You must be signed in to change notification settings - Fork 34
Expand file tree
/
Copy pathcloudSqlPsqlDesigntimeSink.feature
More file actions
executable file
·45 lines (41 loc) · 2.25 KB
/
cloudSqlPsqlDesigntimeSink.feature
File metadata and controls
executable file
·45 lines (41 loc) · 2.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
Feature: CloudSQLPostgreSQL Sink and Error Validation
@cloudSQLPostgreSQL
Scenario Outline:Verify CloudSQLPostgreSQL Sink properties validation errors for mandatory fields
Given Open DataFusion Project to configure pipeline
When Target is CloudSQLPostgreSQL
Then Open cloudSQLPostgreSQL Properties
Then Enter the CloudSQLPostgreSQL Sink Properties with blank property "<property>"
Then Validate mandatory property error for "<property>"
Examples:
| property |
| referenceName |
| database |
| connectionName |
| tableName |
| jdbcPluginName |
@cloudSQLPostgreSQL
Scenario: Verify error is displayed and validation fails for incorrect Driver name value
Given Open DataFusion Project to configure pipeline
When Target is CloudSQLPostgreSQL
Then Open cloudSQLPostgreSQL Properties
Then Enter Reference Name & Database Name with valid test data
Then Enter Table Name "cloudPSQLTableName" and Connection Name
Then Validate Connector properties
Then Enter Driver Name with Invalid value for Driver name field "cloudPSQLDriverNameInvalid"
Then Verify invalid Driver name error message is displayed for Driver "cloudPSQLDriverNameInvalid"
Then Verify plugin validation fails with error
Then Close the cloudSQLPostgreSQL properties
@cloudSQLPostgreSQL
Scenario:Verify error is displayed for Reference name and Public connection name with incorrect values
Given Open DataFusion Project to configure pipeline
When Target is CloudSQLPostgreSQL
Then Enter Reference Name and Public Connection Name with incorrect values and table "cloudPSQLTableName"
Then Verify error is displayed for Reference name & connection name with incorrect values
Then Close the cloudSQLPostgreSQL properties
@cloudSQLPostgreSQL
Scenario:Verify error is displayed for Reference name and Private connection name with incorrect values
Given Open DataFusion Project to configure pipeline
When Target is CloudSQLPostgreSQL
Then Enter Reference Name and Private Connection Name with incorrect values and table "cloudPSQLTableName"
Then Verify error is displayed for incorrect Connection Name with private instance type
Then Close the cloudSQLPostgreSQL properties