Skip to content

Commit

Permalink
Merge pull request #7596 from sanketpathak/gherkin_script_pipelien_de…
Browse files Browse the repository at this point in the history
…bt_ODC-4392

Bug 1908971: Gherkin script for pipeline tech debt 4.7
  • Loading branch information
openshift-merge-robot committed Dec 18, 2020
2 parents a1bcde5 + e2189c5 commit 85dddb2
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,27 @@ Scenario: Add Paramters to the pipeline in pipeline builder page : P-03-TC04
And parameter details displayed in parameters section


@regression, @manual
Scenario: Switching from Pipeline builder view to YAML view to see yaml data
Given user is at Pipeline Builder page
When user adds "git clone" task
And user clicks YAML view
Then user can see "git clone" task present in the YAML view with param values


@regression, @manual
Scenario: Switching from YAML view to Pipeline builder view to see builder data
Given user is at Pipeline YAML view
When user adds "- name: git-clone" under tasks
And user adds "name: git-clone" and "kind: ClusterTask" under taskRef in tasks section
And user clicks Pipeline Builder radio button
Then user can see "git clone" tasks present in the Pipeline builder view


@regression, @manual
Scenario: Create the pipeline from yaml editor : P-07-TC01
Given user is at Pipeline Builder page
When user clicks Edit YAML button
When user clicks YAML view
And user clicks Continue on Switch to YAML editor
And user clicks Create button on Pipeline Yaml page
Then user will be redirected to Pipeline Details page with header name "new-pipeline"
Original file line number Diff line number Diff line change
Expand Up @@ -206,3 +206,16 @@ Scenario Outline: Pipeline status display in topology side bar : P-05-TC02
Examples:
| pipeline_name |
| pipeline-with-resoruce |


@regression, @manual
Scenario: Editing a pipeline structure should not affect the previously executed pipeline runs
Given user has pipeline with two tasks
And user is at the Pipeline Details page
And pipeline run is present
When user clicks Edit Pipeline from Actions menu
And user adds a new task in series to the last task present
And user clicks on save
And user starts the pipeline
Then newly created pipeline run contains the new pipeline graph
And existing pipeline runs contains the old pipeline graph

0 comments on commit 85dddb2

Please sign in to comment.