Sha256: 9d2afc1a4ba51a7b2a9e6cfe0d43807f638f970032c57048c3f89112e14ce5af

Contents?: true

Size: 1.12 KB

Versions: 4

Compression:

Stored size: 1.12 KB

Contents

Feature: Reset password
  In order to be able to recover lost account access
  As an authorized user
  I want to be able to reset my password

  Background:
    # There is a user named Joe User in the test data with the email "joe@user.com"
    # Poor Joe has forgotten his password (which we know to be joe_pass)

  Scenario: Resetting password
    When I go to the homepage
    And I follow "Sign in"
    And I follow "RESET PASSWORD"
    And I enter "joe@user.com" into "*email"
    And I press "Reset my password"
    And I wait 4 seconds
    Then "joe@user.com" should receive an email with subject "reset password for My Wagn"
    
    When I open the email
    And I click the first link in the email
    Then I should see "Joe User"
    
    When I enter "joe_pass_reset" into "*password"
    And I press "Submit"
    Then I should see "encrypted"
    
    When I go to the homepage
    And I follow "Sign out"
    Then I should not see "Joe User"
    
    When I follow "Sign in"
    And I enter "joe@user.com" into "*email"
    And I enter "joe_pass_reset" into "*password"
    And I press "Sign in"
    Then I should see "Joe User"

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
decko-0.3.1 features/reset_password.feature
decko-0.3.0 features/reset_password.feature
decko-0.2.2 features/reset_password.feature
decko-0.2.1 features/reset_password.feature