Skip to content

Instantly share code, notes, and snippets.

@MrRahulR
Created May 25, 2021 17:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MrRahulR/a2db66ac906d0afc28252cd1f618e966 to your computer and use it in GitHub Desktop.
Save MrRahulR/a2db66ac906d0afc28252cd1f618e966 to your computer and use it in GitHub Desktop.
Demo.feature
Feature: Sign up in Gmail
Scenario: User can signup in gmail successfully.
If user is new the it should greet user for the new account and also show its features.
Given I chooses to Sign up.
When I sign up with valid credentials.
Then I should redirect to my gmail inbox.
And I should see current list of my emails in inbox.
Scenario: Sign up with invalid credentials
When someone enters wrong password for it's gmail account.
Given I chooses to Sign up.
But I enter invalid password for my email account.
Then I should receive a validation message for invalid password.
And I should be asked to enter my password again
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment