-
-
Save testautomationtribe/c6ec2fc55777176f58f767d767c7861a to your computer and use it in GitHub Desktop.
Sample Feature File
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: Login Feature | |
In order to create new post | |
As an Editor | |
I want to be able to login to the dashboard | |
Scenario: Successful Login | |
Given I Navigate to the Login page | |
When I Login with Username 'admin' and Password 'password' on the Login Page | |
Then the User Name 'admin' Should be seen on the Dashboard Page | |
#Or we can chose to write the Scenario as: | |
Scenario: Successful Login | |
Given I Navigate to the login page | |
When I Input the Username 'admin' on the Login Page | |
When I Input the Password 'password' on the Login Page | |
When I Press the Login Button from on Login Page | |
Then the User Name 'admin' Should be seen on the Dashboard Page |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment