2012-06-15 06:15:28 +02:00
|
|
|
Feature: Profile
|
2012-09-10 11:40:51 +02:00
|
|
|
Background:
|
|
|
|
Given I sign in as a user
|
2012-06-15 06:15:28 +02:00
|
|
|
|
|
|
|
Scenario: I look at my profile
|
|
|
|
Given I visit profile page
|
|
|
|
Then I should see my profile info
|
|
|
|
|
2012-08-03 18:29:54 +02:00
|
|
|
Scenario: I edit profile
|
|
|
|
Given I visit profile page
|
|
|
|
Then I change my contact info
|
|
|
|
And I should see new contact info
|
|
|
|
|
2012-06-15 06:15:28 +02:00
|
|
|
Scenario: I change my password
|
2012-09-14 18:13:25 +02:00
|
|
|
Given I visit profile account page
|
2012-06-15 06:15:28 +02:00
|
|
|
Then I change my password
|
|
|
|
And I should be redirected to sign in page
|
|
|
|
|
2012-11-04 22:47:37 +01:00
|
|
|
Scenario: I unsuccessfully change my password
|
|
|
|
Given I visit profile account page
|
|
|
|
When I unsuccessfully change my password
|
|
|
|
Then I should see a password error message
|
|
|
|
|
2012-06-15 06:15:28 +02:00
|
|
|
Scenario: I reset my token
|
2012-09-14 17:58:16 +02:00
|
|
|
Given I visit profile account page
|
2012-06-15 06:15:28 +02:00
|
|
|
Then I reset my token
|
|
|
|
And I should see new token
|
2012-09-27 22:23:11 +02:00
|
|
|
|
|
|
|
Scenario: I visit history tab
|
|
|
|
Given I have activity
|
|
|
|
When I visit profile history page
|
|
|
|
Then I should see my activity
|
2012-11-21 21:01:40 +01:00
|
|
|
|
|
|
|
@javascript
|
|
|
|
Scenario: I change my application theme
|
|
|
|
Given I visit profile design page
|
|
|
|
When I change my application theme
|
|
|
|
Then I should see the theme change immediately
|
|
|
|
And I should receive feedback that the changes were saved
|
|
|
|
|
|
|
|
@javascript
|
|
|
|
Scenario: I change my code preview theme
|
|
|
|
Given I visit profile design page
|
|
|
|
When I change my code preview theme
|
|
|
|
Then I should receive feedback that the changes were saved
|