Sha256: e21bda5067bf7415df269e4a12b2d70fcd6236baaa746f14b43e2174af5ec365

Contents?: true

Size: 1.09 KB

Versions: 4

Compression:

Stored size: 1.09 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"
    Then "joe@user.com" should receive an email with subject "verification link 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
wagn-1.13.0 features/reset_password.feature
wagn-1.13.0.pre2 features/reset_password.feature
wagn-1.13.0.pre1 features/reset_password.feature
wagn-1.13.0.pre features/reset_password.feature