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
Automation of Pipeline Actions #11238
Automation of Pipeline Actions #11238
Conversation
@hemantsaini-7 can you make it so only the last commit is part of this PR, or does it depend on #11220 ? |
91ddb1b
to
87af5e4
Compare
@@ -242,3 +242,51 @@ Then('user will be redirected to Pipelines page', () => { | |||
When('user clicks Save button on Pipeline Builder page', () => { | |||
pipelineBuilderPage.clickSaveButton(); | |||
}); | |||
|
|||
And('user clicks on Add task button', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use Given/When/Then for step implementation.
2ab1361
to
8f00e9e
Compare
/retest |
/assign jrichter1 |
Scenario: No datapoint graphs in metrics tab: P-04-TC03 | ||
Given pipeline "pipeline-metrics-two" is present on Pipeline Details page | ||
When user clicks on pipeline "pipeline-metrics-two" | ||
And user selects option "Start" from Actions menu drop down |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
since you removed the When clause, please add it to the next line, so we keep the given-when-then format
@@ -86,14 +86,14 @@ Feature: Perform the actions on Pipelines page | |||
| pipelines-ccc | | |||
|
|||
|
|||
@to-do | |||
@regression | |||
Scenario Outline: Add the task by editing the pipeline: P-06-TC08 | |||
Given pipeline "<pipeline_name>" is present on Pipelines page | |||
When user selects "Edit Pipeline" option from kebab menu of "<pipeline_name>" | |||
When user clicks on Add task in parallel |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just noticed there are 2 When lines, can you change the second one to And to keep it consistent?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changes done!
8f00e9e
to
23dbb9b
Compare
.click({ force: true }); | ||
}); | ||
|
||
Then('user clicks on Add in {string} task', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the parameter is not being used, looks like it doesn't need to be there
23dbb9b
to
76fe2ed
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: hemantsaini-7, jrichter1 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 |
This PR only affects our tests. |
@hemantsaini-7: all tests passed! Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
Description:
Jira Id: ODC-6589
Pre-conditions/setup:
Checks for approving Epic scenarios Automation PR:
Refactoring criteria for approving Automation PR:
Execution Commands:
Example:
Screen shots:
Browser conformance: