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 Script:Getting Started - Spring Boot-ODC-4389 #8362
Gherkin Script:Getting Started - Spring Boot-ODC-4389 #8362
Conversation
@@ -0,0 +1,157 @@ | |||
Feature: UploadJAR file |
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.
Can you please add @add-flow at the top of the file? WDYT @makambalaji
And user clicks on Browse in JAR file section | ||
And user selects file to upload | ||
And user selects appropriate Build image version | ||
And user gives Application name as "sample-upload-app" and Name as "<name>" |
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.
And user gives Application name as "sample-upload-app" and Name as "<name>" | |
And user gives Application Groupings name as "sample-upload-app" and workload Name as "<name>" |
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 makes more sense and won't confuse anyone. WDYT?
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.
I agree
frontend/packages/dev-console/integration-tests/features/addFlow/upload-JAR-file.feature
Outdated
Show resolved
Hide resolved
frontend/packages/dev-console/integration-tests/features/addFlow/upload-JAR-file.feature
Outdated
Show resolved
Hide resolved
.../packages/dev-console/integration-tests/features/topology/topology-chart-area-visual.feature
Outdated
Show resolved
Hide resolved
.../packages/dev-console/integration-tests/features/topology/topology-chart-area-visual.feature
Outdated
Show resolved
Hide resolved
.../packages/dev-console/integration-tests/features/topology/topology-chart-area-visual.feature
Outdated
Show resolved
Hide resolved
...d/packages/dev-console/integration-tests/features/topology/topology-editing-app-node.feature
Outdated
Show resolved
Hide resolved
frontend/packages/dev-console/integration-tests/features/topology/topology-list-view.feature
Outdated
Show resolved
Hide resolved
...d/packages/knative-plugin/integration-tests/features/knative/create-knative-workload.feature
Outdated
Show resolved
Hide resolved
ecbdf8c
to
d710ce6
Compare
frontend/packages/dev-console/integration-tests/features/addFlow/upload-JAR-file.feature
Outdated
Show resolved
Hide resolved
frontend/packages/dev-console/integration-tests/features/addFlow/upload-JAR-file.feature
Outdated
Show resolved
Hide resolved
frontend/packages/dev-console/integration-tests/features/addFlow/upload-JAR-file.feature
Outdated
Show resolved
Hide resolved
frontend/packages/dev-console/integration-tests/features/addFlow/upload-JAR-file.feature
Outdated
Show resolved
Hide resolved
frontend/packages/dev-console/integration-tests/features/addFlow/upload-JAR-file.feature
Outdated
Show resolved
Hide resolved
d710ce6
to
725804d
Compare
And user selects file to upload | ||
And user gives Application name as "sample-upload-app" and workload Name as "sample-yaml-upload" | ||
And user clicks "Build Configuration" link in Advanced Options section | ||
And user unselects Configure a webhook build trigger checkbox in build configuration 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.
These options aren't available for upload a jar flow.
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.
Removed
Scenario: Drag and drop Incompatible file in topology chart view | ||
Given user has a incompatible file | ||
And user is at the Topology chart view | ||
When user drags and drop the file on topology | ||
Then the curser will show the action is not available |
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 is not possible. The user must first drop the file before we can validate it.
UX wants to display a toast warning message that the file is invalid.
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.
I've added about the toast warning message
|
||
|
||
@regression, @manual | ||
Scenario: Drag and drop Incompatible file in topology chart view |
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.
Seems like there are duplicate scripts.
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.
Sorry, it's for the list view. I'll correct the scenario name
725804d
to
c003667
Compare
Given user has a incompatible file | ||
And user is at the Topology list view | ||
When user drags and drop the file on topology | ||
Then the curser will show the action is not available |
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.
Similar update needed here to show a toast.
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: Add to Project through drag and drop to upload JAR file in 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.
This scenario is a bit redundant with the one above it considering the difference has already been tested as part of the form tests. The interaction with topology is the same.
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.
I understand but we need to consider all the scenario as part of epic
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.
I suppose. I'm not sure of your overall strategy.
IMO testing topology doesn't require re-testing the different form flows. As long as one of the flows works.
c003667
to
1e4b552
Compare
/approve |
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.
frontend/packages/dev-console/integration-tests/features/addFlow/upload-JAR-file.feature
Show resolved
Hide resolved
frontend/packages/dev-console/integration-tests/features/addFlow/upload-JAR-file.feature
Show resolved
Hide resolved
frontend/packages/dev-console/integration-tests/features/addFlow/upload-JAR-file.feature
Show resolved
Hide resolved
.../packages/dev-console/integration-tests/features/topology/topology-chart-area-visual.feature
Show resolved
Hide resolved
And user has selected namespace "aut-topology-list-view" | ||
|
||
|
||
@regression, @smoke |
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.
If it's a smoke test, please remove @regression tag
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: View shortcuts menu | ||
Given user has uploaded a jar file | ||
When user clicks on View shortcuts |
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 which page, do we see this shortcuts menu?
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.
Topology list view 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.
please mention that in when condition
When user clicks on View shortcuts | |
When user clicks on View shortcuts in topology list view |
|
||
|
||
@regression @manual | ||
Scenario Outline: knative resource type in upload JAR file |
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 should be Scenario, when there is no examples
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
8a6a50a
to
4fe0bbd
Compare
frontend/packages/dev-console/integration-tests/features/addFlow/upload-JAR-file.feature
Show resolved
Hide resolved
4fe0bbd
to
b0a9827
Compare
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: christianvogt, 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 |
Problem: Need an easy getting started experience for Spring Boot developers.
Story: https://issues.redhat.com/browse/ODC-5442
Epic: https://issues.redhat.com/browse/ODC-4389