summaryrefslogtreecommitdiff
path: root/features/profile
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-06-26 21:34:20 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-06-26 21:34:20 +0300
commit6c0fd9f29ad92b0f4b1cdea82a33d485622d0fd5 (patch)
tree375daeb06333e591b0f573d2ec53675018915744 /features/profile
parent318b50a0b3df4842cc33a15ff2019c948af15359 (diff)
downloadgitlab-ce-6c0fd9f29ad92b0f4b1cdea82a33d485622d0fd5.tar.gz
Add scenario for expired password
Diffstat (limited to 'features/profile')
-rw-r--r--features/profile/profile.feature7
1 files changed, 7 insertions, 0 deletions
diff --git a/features/profile/profile.feature b/features/profile/profile.feature
index 95b85a9f911..6d3dd7841fd 100644
--- a/features/profile/profile.feature
+++ b/features/profile/profile.feature
@@ -16,6 +16,13 @@ Feature: Profile
Then I change my password
And I should be redirected to sign in page
+ Scenario: My password is expired
+ Given my password is expired
+ And I visit profile account page
+ Then I redirected to expired password page
+ And I submit new password
+ And I redirected to sign in page
+
Scenario: I unsuccessfully change my password
Given I visit profile account page
When I unsuccessfully change my password