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