commit
b7ec2137a7
@ -0,0 +1,20 @@ |
|||||||
|
Feature: Profile page |
||||||
|
A student should update his profile information. |
||||||
|
|
||||||
|
Background: |
||||||
|
Given I am a student |
||||||
|
|
||||||
|
Scenario: Update profile with first name Andrew then restore Andrea |
||||||
|
Given I am on "/main/auth/profile.php" |
||||||
|
When I fill in the following: |
||||||
|
| firstname | Andrew | |
||||||
|
And I press "Save settings" |
||||||
|
And wait for the page to be loaded |
||||||
|
Then I should see "Your new profile has been saved" |
||||||
|
And I should see "Andrew" |
||||||
|
Then I fill in the following: |
||||||
|
| firstname | Andrea | |
||||||
|
And I press "Save settings" |
||||||
|
Then I should see "Your new profile has been saved" |
||||||
|
Then I am on "/main/social/home.php" |
||||||
|
Then I should see "Andrea" |
@ -0,0 +1,20 @@ |
|||||||
|
Feature: User registration |
||||||
|
In order to enter the system |
||||||
|
I need to be able to create my account |
||||||
|
|
||||||
|
Scenario: Enter the registration form |
||||||
|
Given I am on the homepage |
||||||
|
Then I should see "Sign up" |
||||||
|
Then I follow "Sign up!" |
||||||
|
Then I should see "Registration" |
||||||
|
And I fill in the following: |
||||||
|
| firstname | user registration first name | |
||||||
|
| lastname | user registration last name | |
||||||
|
| email | user-registration@example.com | |
||||||
|
| official_code | user registration | |
||||||
|
| username | user_registration | |
||||||
|
| pass1 | user-registration | |
||||||
|
| pass2 | user-registration | |
||||||
|
And I press "Register" |
||||||
|
And wait for the page to be loaded |
||||||
|
Then I should see "Your personal settings have been registered" |
Loading…
Reference in new issue