change_password.feature 662 Bytes
Newer Older
1
@javascript
Jairo Diaz's avatar
Jairo Diaz committed
2 3 4 5 6 7 8
Feature: Change password

  Scenario: Change my password
  	Given I am signed in
    And I click on my name in the header
    And I follow "account settings"
    Then I should be on my account settings page
maxwell's avatar
maxwell committed
9 10
    When I put in my password in "user_current_password" 
    And I fill in "user_password" with "newsecret"
Jairo Diaz's avatar
Jairo Diaz committed
11 12
    And I fill in "user_password_confirmation" with "newsecret"
    And I press "Change Password"
13
    Then I should see "Password Changed"  
Jairo Diaz's avatar
Jairo Diaz committed
14 15
    And I click on my name in the header
    And I follow "logout"
16
    Then I should be on the home page    
Jairo Diaz's avatar
Jairo Diaz committed
17
    And I sign in with password "newsecret"
18
    Then I should be on the aspects page