Skip to content

Commit

Permalink
Merge pull request #1474 from cloudsufi/GcsCreate-e2efixes
Browse files Browse the repository at this point in the history
GcsCreate e2e fixes
  • Loading branch information
psainics authored Dec 17, 2024
2 parents c0fd067 + d4df467 commit 08b5964
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions src/e2e-test/features/gcscreate/GCSCreate.feature
Original file line number Diff line number Diff line change
Expand Up @@ -24,29 +24,26 @@ Feature: GCSCreate - Verification of GCS Create plugin
Then Verify that the object "gcsCreateObject2" created successfully

@GCS_CSV_TEST @GCSCreate_Required
Scenario: Verify the pipeline with GCSCreate should fail on second run when fail if objects exists is true
Scenario: Verify that pipeline with GCSCreate failed when fail if objects exists property set to true
Given Open Datafusion Project to configure pipeline
When Expand Plugin group in the LHS plugins list: "Conditions and Actions"
When Select plugin: "GCS Create" from the plugins list as: "Conditions and Actions"
When Navigate to the properties page of plugin: "GCS Create"
Then Enter the GCS Create property projectId "projectId"
Then Enter the GCS Create property objects to create as path "gcsCreateObject1"
Then Enter the GCS Create property objects to create as path "gcsCsvFile"
Then Select GCS Create property fail if objects exists as "true"
Then Override Service account details if set in environment variables
Then Validate "GCS Create" plugin properties
Then Close the GCS Create properties
Then Save and Deploy Pipeline
Then Run the Pipeline in Runtime
Then Wait till pipeline is in running state
Then Verify the pipeline status is "Succeeded"
Then Run the Pipeline in Runtime
Then Wait for pipeline to be in status: "Failed" with a timeout of 240 seconds
Then Open and capture logs
Then Verify the pipeline status is "Failed"
Then Close the pipeline logs

@GCS_CSV_TEST @GCSCreate_Required
Scenario: Verify the pipeline with GCSCreate should not fail on second run when fail if objects exists is false
Scenario: Verify that pipeline with GCSCreate succeeded when fail if objects exists property set to false
Given Open Datafusion Project to configure pipeline
When Expand Plugin group in the LHS plugins list: "Conditions and Actions"
When Select plugin: "GCS Create" from the plugins list as: "Conditions and Actions"
Expand All @@ -60,9 +57,6 @@ Feature: GCSCreate - Verification of GCS Create plugin
Then Save and Deploy Pipeline
Then Run the Pipeline in Runtime
Then Wait till pipeline is in running state
Then Verify the pipeline status is "Succeeded"
Then Run the Pipeline in Runtime
Then Wait for pipeline to be in status: "Succeeded" with a timeout of 240 seconds
Then Open and capture logs
Then Verify the pipeline status is "Succeeded"
Then Close the pipeline logs

0 comments on commit 08b5964

Please sign in to comment.