Last active
December 29, 2017 07:34
-
-
Save abidvf/c6373fcbf2c57d65a5ea711658fd1a9b to your computer and use it in GitHub Desktop.
cucumber feature file to cover a scenario
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
Feature: POS flow | |
Background: | |
Given Initiating browser | |
Scenario: Provider creation | |
Given Hit Site home | |
When Clicked on login link | |
Then On login page enter email address | |
And Enter admin password | |
And Click on login button | |
And Hover on providers link | |
Then Click on add provider link | |
And Add provider name | |
And Select provider state | |
And Enter short name | |
And Enter discounted amount percentage | |
And Enter minimum payment per month | |
And Enter max term | |
And Enter threshold limit amount | |
And Minimum procedure amount limit | |
And Maximum procedure amount limit | |
And Click create button | |
And Hover on profile link | |
Then Click on logout link | |
Given Go to pos landing page | |
When Click Get Started button | |
And Check radio button with value yes | |
Then Enter procedure amount | |
When Click submit button | |
And Enter first name | |
And Enter last name | |
And Enter email | |
And Enter date of birth | |
And Enter zip code | |
And Enter address | |
And Enter phone number | |
And Enter Social security number | |
And Enter Password | |
And Enter Password Confirmation | |
And Check agree button | |
Then Click submit and signup | |
Then Redirected to plan customization page | |
And Select month on slider | |
And Check consent checkbox | |
And Click submit customized patient plan | |
And Enter credit card number | |
And Enter expiration date | |
And Enter card code | |
Then Click on pay now button | |
Then Click on continue to Payment Plan Contract | |
And Check agreement checkbox | |
And Click on accept button | |
Then Redirected to thanks page | |
And Click on ok button. | |
Then Redirected back to POS page | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment