BigW Consortium Gitlab

profile.feature 2.54 KB
Newer Older
1
@profile
Dmitriy Zaporozhets committed
2
Feature: Profile
3 4
  Background:
    Given I sign in as a user
Dmitriy Zaporozhets committed
5 6 7 8 9

  Scenario: I look at my profile
    Given I visit profile page
    Then I should see my profile info

Dmitriy Zaporozhets committed
10
  @javascript
11 12 13 14 15 16 17
  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

18 19
  Scenario: I edit profile
    Given I visit profile page
Jerome Dalbert committed
20 21
    Then I change my profile info
    And I should see new profile info
22

23
  Scenario: I change my password without old one
24
    Given I visit profile password page
25 26
    When I try change my password w/o old one
    Then I should see a missing password error message
27
    And I should be redirected to password page
28

Dmitriy Zaporozhets committed
29
  Scenario: I change my password
30
    Given I visit profile password page
Dmitriy Zaporozhets committed
31 32 33
    Then I change my password
    And I should be redirected to sign in page

34 35 36 37
  Scenario: I edit my avatar
    Given I visit profile page
    Then I change my avatar
    And I should see new avatar
38
    And I should see the "Remove avatar" button
39
    And I should see the gravatar host link
40 41 42 43 44 45 46

  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
47
    And I should see the gravatar host link
48

49 50
  Scenario: My password is expired
    Given my password is expired
51
    And I am not an ldap user
52
    Given I visit profile password page
53 54 55 56
    Then I redirected to expired password page
    And I submit new password
    And I redirected to sign in page

57
  Scenario: I unsuccessfully change my password
58
    Given I visit profile password page
59 60 61
    When I unsuccessfully change my password
    Then I should see a password error message

randx committed
62
  Scenario: I visit history tab
63 64 65
    Given I logout
    And I sign in via the UI
    And I have activity
66
    When I visit Audit Log page
randx committed
67
    Then I should see my activity
68

69 70 71 72 73
  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

Valery Sizov committed
74
  Scenario: I can manage application
75
    Given I visit profile applications page
76
    Then I should see application form
Valery Sizov committed
77 78 79 80 81 82
    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
83
    Then I visit profile applications page
Valery Sizov committed
84 85
    And I click to remove application
    Then I see that application is removed