Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gherkin script:getting started-ODC-3917
- Loading branch information
Sanket
committed
Jul 31, 2020
1 parent
f8e72f1
commit 11c1b90
Showing
3 changed files
with
132 additions
and
0 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
...le/integration-tests/features/getting-started/getting_started _to_dev_perspective.feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Feature: Create Sample Application | ||
As a user I want to create the Sample Application from Add options | ||
|
||
Background: | ||
Given user is developer | ||
|
||
@regression | ||
Scenario: Logging to openshift devconsole | ||
Given user has devloper credentials | ||
When user logins as a developer | ||
Then user is taken to developer perspective directly |
79 changes: 79 additions & 0 deletions
79
...e/integration-tests/features/getting-started/getting_started_tour_dev_perspective.feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
Feature: Getting Started tour of developer perspective | ||
As a user I want to take tour of developer perspective | ||
|
||
|
||
@regression | ||
Scenario: Quick tour when user logs in for the first time | ||
Given user is on login page for the first time | ||
When user enters the credential | ||
And user clicks on the login button | ||
And user switches to developer perspective if not already there | ||
And the Getting Started experience is automatically displayed | ||
And user can see first screen as 'Welcome to Dev perspective' | ||
And user can see the button labels on the first screen are 'Get Started' & 'Skip tour' | ||
And user clicks on Get started | ||
And user can see next screen appears on Perspective switcher | ||
And user can see the button labels as 'Next' & 'Back' | ||
And user can clicks on Next button | ||
And user can see next screen appears on Monitoring tab | ||
And user can see the button labels as 'Next' & 'Back' | ||
And user can clicks on Next button | ||
And user can see next screen appears on Search tab | ||
And user can see the button labels as 'Next' & 'Back' | ||
And user can clicks on Next button | ||
And user can see next screen appears on Command Line Terminal | ||
And user can see the button labels as 'Next' & 'Back' | ||
And user can clicks on Next button | ||
And user can see next screen appears on Help | ||
And user can see the button labels as 'Next' & 'Back' | ||
And user can clicks on Next button | ||
And user can see next screen appears is Final Screen saying 'You are ready to go!' | ||
And user can see the button labels as 'Okay, got it!' & 'Back' | ||
And user can clicks on 'Okay, got it!' button | ||
Then user is in the topology view in developer perspective | ||
|
||
@regression | ||
Scenario: Quick tour from help menu | ||
Given user is in developer perspective | ||
When user opens help menu on top right | ||
And user clicks on 'Guided Tour' option | ||
And user can see first screen as 'Welcome to Dev perspective' | ||
And user can see the button labels on the first screen are 'Get Started' & 'Skip tour' | ||
And user clicks on Get started | ||
And user can see next screen appears on Perspective switcher | ||
And user can see the button labels as 'Next' & 'Back' | ||
And user can clicks on Next button | ||
And user can see next screen appears on Monitoring tab | ||
And user can see the button labels as 'Next' & 'Back' | ||
And user can clicks on Next button | ||
And user can see next screen appears on Search tab | ||
And user can see the button labels as 'Next' & 'Back' | ||
And user can clicks on Next button | ||
And user can see next screen appears on Command Line Terminal | ||
And user can see the button labels as 'Next' & 'Back' | ||
And user can clicks on Next button | ||
And user can see next screen appears on Help | ||
And user can see the button labels as 'Next' & 'Back' | ||
And user can clicks on Next button | ||
And user can see next screen appears is Final Screen saying 'You are ready to go!' | ||
And user can see the button labels as 'Okay, got it!' & 'Back' | ||
And user can clicks on 'Okay, got it!' button | ||
Then user is in the topology view in developer perspective | ||
|
||
@regression | ||
Scenario: Stopping Quick tour in mid of the tour | ||
Given user is in developer perspective | ||
When user opens help menu on top right | ||
And user clicks on 'Guided Tour' option | ||
And user can see the first screen as 'Welcome to Dev perspective' | ||
And user clicks on Get started | ||
And user can see next screen appears on Perspective switcher | ||
And user can see the button labels as 'Next' & 'Back' and 'X' button on top-right corner | ||
And user clicks on X button | ||
And closing out modal will open | ||
And user can see button labels as 'Back to tour' and 'Close' | ||
And user clicks on Close button | ||
And user is in the topology view in developer perspective | ||
And user opens help menu on top right | ||
And user clicks on 'Guided Tour' option | ||
Then user is taken to the first screen again |
42 changes: 42 additions & 0 deletions
42
...kages/dev-console/integration-tests/features/getting-started/sample-card_Add_page.feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
Feature: Create Sample Application | ||
As a user I want to create the Sample Application from +Add page | ||
|
||
Background: | ||
And user is in Developer perspecitve | ||
And open project namespace | ||
|
||
|
||
@regression | ||
Scenario: Sample Card in Add flow | ||
Given user is at +Add page of Developer perspective | ||
When user will check for Samples card | ||
And user clicks on Samples card | ||
Then user is taken to Samples Page | ||
And user can see different sample applications | ||
And sample applications are based on the builder images | ||
|
||
@regression | ||
Scenario: Create node Sample Appliation | ||
Given user is in Add flow of dev perspective | ||
When user clicks on Sample card | ||
And samples page opens | ||
And user selects a sample card | ||
And sample Application Creation form opens | ||
Then form is filled with default values | ||
And user will see the name section | ||
And user will see builder image version dropdown | ||
And user will see builder image below builder image version dropdown | ||
And user will see git url is ineditable field | ||
And user will see create and cancel button | ||
|
||
@regression | ||
Scenario: Create node Sample Appliation | ||
Given user is in Add flow of dev perspective | ||
When user clicks on Sample card | ||
And samples page opens | ||
And user selects node card | ||
And sample Application Creation form opens | ||
And user can assign a name in the name section | ||
And user can change builder image version from dropdown if required | ||
And user clicks on create | ||
Then user is taken to topology with a node deployment workload created inside sample application |