Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GcsCreate e2e fixes #1474

Merged
merged 1 commit into from
Dec 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading