RajeshChintkuntlawar / TestYourKnowledge

Bootcamp Second Project - TestYourKnowledge
0 stars 2 forks source link

Registration Functionality: Create Behavior Tests using the Gherkin from the Requirements #15

Open RajeshChintkuntlawar opened 6 years ago

RajeshChintkuntlawar commented 6 years ago

Refer https://github.com/RajeshChintkuntlawar/TestYourKnowledge/issues/5

brundap commented 6 years ago

User story1: User Registration As a user, I want to register for the Quiz Box, so that I can take the quiz online. Acceptance Criteria: The user is added to the Quiz Box application.

Feature: Register into Quiz Box application Scenario 1: New user is registering for Quiz Box application Given user is on Quiz Box home page And user clicks on link on Quiz Box home page And user can see Enter Details title on the Registration page And user can enter in First Name field And user can enter in Last Name field And user can enter in User Name field And user can enter in Password field And user can enter in Re-enter Password field And user can enter in Email field When user clicks on Register as a User button Then user will be redirected to the Test Your Knowledge login page

Scenario 2: New user can cancel the registration form on Quiz Box application Given user is on Quiz Box home page And user clicks on link on Quiz Box home page And user can see Enter Details title on the Registration page And user can enter in First Name field And user can enter in Last Name field And user can enter in User Name field And user can enter in Password field And user can enter in Re-enter Password field And user can enter in Email field When user clicks on Cancel button Then user will be redirected to the Test Your Knowledge login page

User story 2: Admin Registration As an administrator, I want to register for the Quiz Box, so that I can create/update the quiz. Acceptance Criteria: The admin is registered to the Quiz Box application.

Scenario 3: New admin is registering for Quiz Box application Given admin is on Quiz Box home page And admin clicks on link on Quiz Box home page And admin can see Enter Details title on the Registration page And admin can enter in First Name field And admin can enter in Last Name field And admin can enter in User Name field And admin can enter in Password field And admin can enter in Re-enter Password field And admin can enter in Email field When admin clicks on Register as an Admin button Then admin will be redirected to the Test Your Knowledge login page

Scenario 4: New admin can cancel the registration form on Quiz Box application Given admin is on Quiz Box home page And admin clicks on link on Quiz Box home page And admin can see Enter Details title on the Registration page And admin can enter in First Name field And admin can enter in Last Name field And admin can enter in User Name field And admin can enter in Password field And admin can enter in Re-enter Password field And admin can enter in Email field When admin clicks on Cancel button Then admin will be redirected to the Test Your Knowledge login page