Skip to content

Commit

Permalink
gherkin script:getting started-ODC-3917
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanket committed Jul 31, 2020
1 parent f8e72f1 commit 11c1b90
Show file tree
Hide file tree
Showing 3 changed files with 132 additions and 0 deletions.
@@ -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
@@ -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
@@ -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

0 comments on commit 11c1b90

Please sign in to comment.