Skip to content

Commit e375bd9

Browse files
committed
Add step to Capture pipeline preview logs
1 parent a3bdecf commit e375bd9

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

mssql-plugin/src/e2e-test/features/mssql/mssql sink/RunTimeWithMacros.feature

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,9 @@ Feature: Mssql Sink - Run time scenarios (macro)
151151
And Enter runtime argument value "invalidTableName" for key "TableName"
152152
And Run the Pipeline in Runtime with runtime arguments
153153
Then Wait till pipeline is in running state
154+
Then Open and capture logs
154155
And Verify the pipeline status is "Failed"
156+
Then Close the pipeline logs
155157
Then Open Pipeline logs and verify Log entries having below listed Level and Message:
156158
| Level | Message |
157159
| ERROR | errorMessageInvalidTableName |
@@ -199,7 +201,9 @@ Feature: Mssql Sink - Run time scenarios (macro)
199201
And Enter runtime argument value "invalid.Password" for key "Password"
200202
And Run the Pipeline in Runtime with runtime arguments
201203
Then Wait till pipeline is in running state
204+
Then Open and capture logs
202205
And Verify the pipeline status is "Failed"
206+
Then Close the pipeline logs
203207
Then Open Pipeline logs and verify Log entries having below listed Level and Message:
204208
| Level | Message |
205209
| ERROR | errorMessageInvalidCredentials |

mssql-plugin/src/e2e-test/features/mssql/mssql source/RunTimeWithMacros.feature

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,9 @@ Feature: Mssql Source - Run time scenarios (macro)
249249
And Enter runtime argument value "invalidSelectQuery" for key "importQuery"
250250
And Run the Pipeline in Runtime with runtime arguments
251251
Then Wait till pipeline is in running state
252+
Then Open and capture logs
252253
And Verify the pipeline status is "Failed"
254+
Then Close the pipeline logs
253255
Then Open Pipeline logs and verify Log entries having below listed Level and Message:
254256
| Level | Message |
255257
| ERROR | errorMessageInvalidsourcetable |
@@ -294,7 +296,9 @@ Feature: Mssql Source - Run time scenarios (macro)
294296
And Enter runtime argument value "invalid.password" for key "Password"
295297
And Run the Pipeline in Runtime with runtime arguments
296298
Then Wait till pipeline is in running state
299+
Then Open and capture logs
297300
And Verify the pipeline status is "Failed"
301+
Then Close the pipeline logs
298302
Then Open Pipeline logs and verify Log entries having below listed Level and Message:
299303
| Level | Message |
300304
| ERROR | errorMessageInvalidCredentialSource |

mysql-plugin/src/e2e-test/features/mysqlsource/RunTime.feature

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ Feature: MySQL Source - Run time scenarios
142142
Then Close the Plugin Properties page
143143
Then Save the pipeline
144144
Then Preview and run the pipeline
145+
Then Open and capture pipeline preview logs
145146
Then Wait till pipeline preview is in running state
146147
Then Verify the preview run status of pipeline in the logs is "failed"
147148

0 commit comments

Comments
 (0)