Created
July 7, 2021 06:13
-
-
Save sakshamgurung/d1b91f3836b38df4e2dbe689b8fbc508 to your computer and use it in GitHub Desktop.
cucumber 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: user login | |
As a user | |
I want to log into my account | |
So that I can have access to my plan | |
Scenario: try to login with invalid credentials | |
Given the user has browsed to the login page | |
When the user tries to login with email "joe@yahoo.com" and password "Password@123" using the webUI | |
Then the invalid message "Email or Password is incorrect." should be displayed in the webUI | |
Scenario: user login with valid credentials | |
Given the user has been created with following credentials | |
| firstName | mo | | |
| lastName | doe | | |
| email | mo3@gmail.com | | |
| password | Password@123 | | |
And the user has browsed to the login page | |
When the user tries to login with email "mo3@gmail.com" and password "Password@123" using the webUI | |
Then the user should be in dashboard page |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment