2014-06-04 20:55:27 +00:00
|
|
|
@profile
|
2012-06-15 04:15:28 +00:00
|
|
|
Feature: Profile
|
2012-09-10 09:40:51 +00:00
|
|
|
Background:
|
|
|
|
Given I sign in as a user
|
2012-06-15 04:15:28 +00:00
|
|
|
|
|
|
|
Scenario: I look at my profile
|
|
|
|
Given I visit profile page
|
|
|
|
Then I should see my profile info
|
|
|
|
|
2015-11-03 15:39:09 +00:00
|
|
|
@javascript
|
2014-02-08 05:45:46 +00:00
|
|
|
Scenario: I can see groups I belong to
|
|
|
|
Given I have group with projects
|
|
|
|
When I visit profile page
|
|
|
|
And I click on my profile picture
|
|
|
|
Then I should see my user page
|
|
|
|
And I should see groups I belong to
|
|
|
|
|
2012-08-03 16:29:54 +00:00
|
|
|
Scenario: I edit profile
|
|
|
|
Given I visit profile page
|
2014-01-18 19:07:00 +00:00
|
|
|
Then I change my profile info
|
|
|
|
And I should see new profile info
|
2012-08-03 16:29:54 +00:00
|
|
|
|
2013-09-24 07:48:36 +00:00
|
|
|
Scenario: I change my password without old one
|
2013-10-09 14:01:04 +00:00
|
|
|
Given I visit profile password page
|
2013-09-24 07:48:36 +00:00
|
|
|
When I try change my password w/o old one
|
|
|
|
Then I should see a missing password error message
|
2013-10-09 14:01:04 +00:00
|
|
|
And I should be redirected to password page
|
2013-09-24 07:48:36 +00:00
|
|
|
|
2012-06-15 04:15:28 +00:00
|
|
|
Scenario: I change my password
|
2013-10-09 14:01:04 +00:00
|
|
|
Given I visit profile password page
|
2012-06-15 04:15:28 +00:00
|
|
|
Then I change my password
|
|
|
|
And I should be redirected to sign in page
|
|
|
|
|
2013-10-06 18:13:56 +00:00
|
|
|
Scenario: I edit my avatar
|
|
|
|
Given I visit profile page
|
|
|
|
Then I change my avatar
|
|
|
|
And I should see new avatar
|
2013-12-02 18:03:07 +00:00
|
|
|
And I should see the "Remove avatar" button
|
2015-08-05 07:48:16 +00:00
|
|
|
And I should see the gravatar host link
|
2013-12-02 18:03:07 +00:00
|
|
|
|
|
|
|
Scenario: I remove my avatar
|
|
|
|
Given I visit profile page
|
|
|
|
And I have an avatar
|
|
|
|
When I remove my avatar
|
|
|
|
Then I should see my gravatar
|
|
|
|
And I should not see the "Remove avatar" button
|
2015-08-05 07:48:16 +00:00
|
|
|
And I should see the gravatar host link
|
2013-10-06 18:13:56 +00:00
|
|
|
|
2013-06-26 18:34:20 +00:00
|
|
|
Scenario: My password is expired
|
|
|
|
Given my password is expired
|
2013-09-17 20:37:36 +00:00
|
|
|
And I am not an ldap user
|
2013-10-09 14:01:04 +00:00
|
|
|
Given I visit profile password page
|
2013-06-26 18:34:20 +00:00
|
|
|
Then I redirected to expired password page
|
|
|
|
And I submit new password
|
|
|
|
And I redirected to sign in page
|
|
|
|
|
2012-11-04 21:47:37 +00:00
|
|
|
Scenario: I unsuccessfully change my password
|
2013-10-09 14:01:04 +00:00
|
|
|
Given I visit profile password page
|
2012-11-04 21:47:37 +00:00
|
|
|
When I unsuccessfully change my password
|
|
|
|
Then I should see a password error message
|
|
|
|
|
2012-09-27 20:23:11 +00:00
|
|
|
Scenario: I visit history tab
|
2017-03-29 20:46:13 +00:00
|
|
|
Given I logout
|
|
|
|
And I sign in via the UI
|
|
|
|
And I have activity
|
2015-07-03 11:54:50 +00:00
|
|
|
When I visit Audit Log page
|
2012-09-27 20:23:11 +00:00
|
|
|
Then I should see my activity
|
2012-11-21 20:01:40 +00:00
|
|
|
|
2013-06-26 18:50:47 +00:00
|
|
|
Scenario: I visit my user page
|
|
|
|
When I visit profile page
|
|
|
|
And I click on my profile picture
|
|
|
|
Then I should see my user page
|
|
|
|
|
2014-12-19 14:15:29 +00:00
|
|
|
Scenario: I can manage application
|
2014-12-25 16:46:19 +00:00
|
|
|
Given I visit profile applications page
|
2016-03-01 14:37:49 +00:00
|
|
|
Then I should see application form
|
2014-12-19 14:15:29 +00:00
|
|
|
Then I fill application form out and submit
|
|
|
|
And I see application
|
|
|
|
Then I click edit
|
|
|
|
And I see edit application form
|
|
|
|
Then I change name of application and submit
|
|
|
|
And I see that application was changed
|
2014-12-25 16:46:19 +00:00
|
|
|
Then I visit profile applications page
|
2014-12-19 14:15:29 +00:00
|
|
|
And I click to remove application
|
|
|
|
Then I see that application is removed
|