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 for export of application in topology #9887
Gherkin for export of application in topology #9887
Conversation
And user has created a deployment workload | ||
When user goes to Topology | ||
And user clicks on Export Application button | ||
Then user can see Export Application modal saying "Export of resources in aut-export-application has started." |
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.
it'll be a toast message
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.
Updated
Scenario: Export Application is created: KC-02-TC02 | ||
Given user is at Topology | ||
And Export Application is completed | ||
And user clicks on download 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.
user will be shown with a toast message on export completion along with a link to download
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.
Updated
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.
this doesn't look right And user clicks on download 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.
Updated
ad9ab39
to
68d5407
Compare
/assign @makambalaji |
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.
Do we need "export-application" folder in Topology plugin folder?
Given user has installed Gitops primer Operator | ||
And user has created or selected namespace "aut-export-application" |
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.
Given user has installed Gitops primer Operator | |
And user has created or selected namespace "aut-export-application" | |
Given user has installed Gitops primer Operator | |
And user is at developer perspective | |
And user has created or selected namespace "aut-export-application" |
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.
Updated
|
||
@smoke @to-do | ||
Scenario: Export application button in topology: EA-02-TC01 | ||
Given user is at Developer perspective |
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.
Move it to BackGround section and remove it from here
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.
Updated
@smoke @to-do | ||
Scenario: Export application button in topology: EA-02-TC01 | ||
Given user is at Developer perspective | ||
And user has created a deployment workload |
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.
Provide the test data ""
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.
Added
Scenario: Export application button in topology: EA-02-TC01 | ||
Given user is at Developer perspective | ||
And user has created a deployment workload | ||
When user goes to Topology |
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.
When user goes to Topology | |
When user navigates to Topology |
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.
Updated
|
||
@regression @to-do | ||
Scenario: Export Application modal when export application is in progress: EA-02-TC02 | ||
Given user is at Topology |
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.
Given user is at Topology | |
Given user is at Topology page |
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.
Updated
|
||
@regression @to-do | ||
Scenario: Export application button in empty topology view: EA-02-TC03 | ||
Given user is at Developer perspective |
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.
Remove this line and move it to BackGround section
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.
Updated
Scenario: Export application button in empty topology view: EA-02-TC03 | ||
Given user is at Developer perspective | ||
And user has created or selected namespace "aut-export-applicatio-temp" | ||
When user goes to Topology |
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.
When user goes to Topology | |
When user navigates to Topology page |
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.
Updated
|
||
@regression @manual | ||
Scenario: Export Application is created: EA-02-TC04 | ||
Given user is at Topology |
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.
Given user is at Topology | |
Given user is at Topology page |
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.
Updated
Given user is at Topology | ||
And Export Application is completed | ||
Then user can see a toast message on export completion along with a link to download | ||
And user can see a deployment workload for primer is created |
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.
In Given condition,
'User created deployment workload "<>"' is required and share that workload name here in this step for more clarity
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.
No, this is a workload when the primer Job is finished the primer deployment is created
|
||
@regression @manual | ||
Scenario: Download the exported application: EA-02-TC05 | ||
Given user is at Topology |
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.
Given user is at Topology | |
Given user is at Topology page |
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.
Updated
68d5407
to
3d06b27
Compare
Yes, as the feature code is present in the Topology plugin so we need the export application tests in Topology at this moment |
3d06b27
to
acfa55e
Compare
/approve cc @makambalaji |
/lgtm |
/label px-approved |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: invincibleJai, 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 |
Epic: https://issues.redhat.com/browse/ODC-2148
Story: https://issues.redhat.com/browse/ODC-6280
Acceptance criteria:
Checks required for approving Epic gherkin scripts PR:
yarn run gherkin-lint
on frontend folder [Skip epic number tags related linter issues]