@@ -132,3 +132,41 @@ Feature: Salesforce Sink - Run time Scenarios
132132 Then Verify the pipeline status is "Succeeded"
133133 Then Close the pipeline logs
134134 Then Validate the values of records transferred from Bigquery to Salesforce is equal
135+
136+ @SINK-TS-SF-RNTM-04 @BQ_SOURCE_TEST @DELETE_TEST_DATA
137+ Scenario : Verify user should be able to see ingest the records successfully using upsert operation
138+ When Open Datafusion Project to configure pipeline
139+ And Select plugin: "BigQuery" from the plugins list as: "Source"
140+ And Navigate to the properties page of plugin: "BigQuery"
141+ Then Replace input plugin property: "project" with value: "projectId"
142+ Then Enter input plugin property: "datasetProject" with value: "projectId"
143+ Then Enter input plugin property: "referenceName" with value: "BQReferenceName"
144+ Then Enter input plugin property: "dataset" with value: "dataset"
145+ Then Enter input plugin property: "table" with value: "bqSourceTable"
146+ Then Validate "BigQuery" plugin properties
147+ And Close the Plugin Properties page
148+ And Select Sink plugin: "Salesforce" from the plugins list
149+ And Connect plugins: "BigQuery" and "Salesforce" to establish connection
150+ And Navigate to the properties page of plugin: "Salesforce"
151+ And fill Authentication properties for Salesforce Admin user
152+ Then Enter input plugin property: "referenceName" with value: "ReferenceName"
153+ And Select radio button plugin property: "operation" with value: "upsert"
154+ Then Enter input plugin property: "externalIdField" with value: "UpsertColumnvalue"
155+ And Enter input plugin property: "sObject" with value: "sobject.account"
156+ And Select dropdown plugin property: "errorHandling" with option value: "Skip on error"
157+ Then Validate "Salesforce" plugin properties
158+ And Close the Plugin Properties page
159+ And Save the pipeline
160+ And Preview and run the pipeline
161+ Then Wait till pipeline preview is in running state
162+ Then Open and capture pipeline preview logs
163+ Then Verify the preview run status of pipeline in the logs is "succeeded"
164+ Then Close the pipeline logs
165+ Then Close the preview
166+ Then Deploy the pipeline
167+ Then Run the Pipeline in Runtime
168+ Then Wait till pipeline is in running state
169+ Then Open and capture logs
170+ Then Verify the pipeline status is "Succeeded"
171+ Then Close the pipeline logs
172+ Then Validate the values of records transferred from Bigquery to Salesforce is equal
0 commit comments