Created
September 20, 2013 20:30
-
-
Save spolischook/6643448 to your computer and use it in GitHub Desktop.
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
Test Suite TS#01: Registration | |
Test Case TC#1-1: Registration form is available. | |
Pre-Requisite | |
Registration form. | |
Steps: | |
1. Open "/registration" page. | |
2. Enter username as "tester1", password/confirm password as "password1", email as "test@gmail.com", mobile phone as "1234567891", "privacy policy" check box set to "on". | |
3. Press Complete Registration. | |
4. Verify redirect to /home. | |
5. Verify welcome message "Welcome, <first name> <last name>". | |
6. Verify confirmation email. | |
=========-------------------===================------------============= | |
---------===================-------------------============------------- | |
=========-------------------===================------------============= | |
Feature: Your first feature | |
In order to have user account | |
As a client | |
I need to have opportunity to register | |
Scenario: Registration anonymous user | |
Given I am on "/registration" | |
When I fill in "username" with "tester1" | |
When I fill in "first_name" with "tester_first_name" | |
When I fill in "last_name" with "tester_last_name" | |
When I fill in "password" with "password1" | |
When I fill in "confirm" with "password1" | |
When I fill in "email" with "test@gmail.com" | |
When I fill in "mobile_phone" with "1234567891" | |
When I check "privacy_policy" | |
When I press "Complete Registration" | |
Then I am on "/home" | |
Then I should see "Welcome, tester_first_name tester_last_name" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment