change_password.feature 610 Bytes
Newer Older
1
@javascript
Jairo Diaz's avatar
Jairo Diaz committed
2 3 4 5 6 7 8 9 10 11
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
    When I fill in "user_password" with "newsecret"
    And I fill in "user_password_confirmation" with "newsecret"
    And I press "Change Password"
12
    Then I should see "Password Changed"  
Jairo Diaz's avatar
Jairo Diaz committed
13 14
    And I click on my name in the header
    And I follow "logout"
15
    Then I should be on the home page    
Jairo Diaz's avatar
Jairo Diaz committed
16 17 18
    And I sign in with password "newsecret"
    Then I should be on the aspects page