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

Gherkin display task runs associated with pipeline run odc 3712 #7377

Conversation

sanketpathak
Copy link
Contributor

Copy link
Contributor

@gajanan-more gajanan-more left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You haven't added the file extension

@sanketpathak sanketpathak force-pushed the gherkin_display_TaskRuns_associated_with_PipelineRun_ODC-3712 branch from 200cc9a to 8248609 Compare December 2, 2020 12:35
@sanketpathak sanketpathak force-pushed the gherkin_display_TaskRuns_associated_with_PipelineRun_ODC-3712 branch from 8248609 to 73962f0 Compare December 2, 2020 13:28
@gajanan-more
Copy link
Contributor

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Dec 2, 2020
When user clicks on pipeline runs tab
And user clicks on a pipeline run to see Task Runs tab
And user clicks on Task Runs tab
Then user can see different task runs based on number of tasks present in pipeline
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Then user can see different task runs based on number of tasks present in pipeline
Then user can see different task runs based on number of tasks executed in pipeline

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated

Given user has pipeline runs present
And user is on Pipeline Runs Details page
When user clicks on Task Runs tab
And user clicks on breadcrumb of a task run
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
And user clicks on breadcrumb of a task run
And user clicks on a kebab menu of a task run in the list

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated

And user clicks on a task run
Then user is redirected to Task Run Details tab
And user can see "Details", "Log", "YAML" and "Events" tab
And user can see Status and Log snippet in "Details" tab
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Break into two scenarios

  1. For a succeeded task run only status and pod fields are shown
    image
  2. For a failed task run, following fields are shown
    image

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added two scenarios for passed and failed task runs

@sanketpathak sanketpathak force-pushed the gherkin_display_TaskRuns_associated_with_PipelineRun_ODC-3712 branch from 73962f0 to fe1fe26 Compare December 2, 2020 16:17
@openshift-ci-robot openshift-ci-robot removed the lgtm Indicates that a PR is ready to be merged. label Dec 2, 2020
@karthikjeeyar
Copy link
Contributor

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Dec 2, 2020
@sanketpathak
Copy link
Contributor Author

/assign @makambalaji

Copy link
Contributor

@makambalaji makambalaji left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PTAL the comments

Comment on lines 12 to 13
Given user is at pipeline details page
And pipeline runs are present
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Given user is at pipeline details page
And pipeline runs are present
Given user is at pipeline details page with pipeline Runs

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated

Comment on lines 23 to 24
Given user has pipeline runs present
And user is on Pipeline Runs Details page
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Given user has pipeline runs present
And user is on Pipeline Runs Details page
Given user is at pipeline details page with pipeline runs

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated

And user is on Pipeline Runs Details page
When user clicks on Task Runs tab
And user clicks on a kebab menu of a task run in the list
Then user can see "Edit labels", "Edit annotations", "Edit Task Run" and "Delete Task Run"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Then user can see "Edit labels", "Edit annotations", "Edit Task Run" and "Delete Task Run"
Then user can see kebab menu options Edit labels, Edit annotations, Edit Task Run and Delete Task Run

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated

Comment on lines 32 to 33
Given user is at pipeline details page
And pipeline runs are present
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Given user is at pipeline details page
And pipeline runs are present
Given user is at pipeline details page with pipeline runs

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated

Given user has pipeline runs present
And user is on Pipeline Runs Details page
When user clicks on Task Runs tab
And user clicks on a kebab menu of a task run in the list
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
And user clicks on a kebab menu of a task run in the list
And user clicks kebab menu of a task run

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated

Comment on lines 45 to 46
Given user is at pipeline details page
And pipeline runs are present
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Given user is at pipeline details page
And pipeline runs are present
Given user is at pipeline details page with pipeline runs

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated

@sanketpathak sanketpathak force-pushed the gherkin_display_TaskRuns_associated_with_PipelineRun_ODC-3712 branch from fe1fe26 to 612b1c6 Compare December 3, 2020 17:51
@openshift-ci-robot openshift-ci-robot removed the lgtm Indicates that a PR is ready to be merged. label Dec 3, 2020
@sanketpathak sanketpathak force-pushed the gherkin_display_TaskRuns_associated_with_PipelineRun_ODC-3712 branch from 612b1c6 to 5b860df Compare December 3, 2020 17:52
@makambalaji
Copy link
Contributor

/lgtm
/approve

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Dec 4, 2020
@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: gajanan-more, karthikjeeyar, makambalaji, sanketpathak

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 4, 2020
@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-merge-robot openshift-merge-robot merged commit db7d8b7 into openshift:master Dec 4, 2020
@spadgett spadgett added this to the v4.7 milestone Dec 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. component/dev-console Related to dev-console lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants