group.feature 1.54 KB
Newer Older
1 2 3 4 5
Feature: Groups
  Background:
    Given I sign in as a user
    And I have group with projects

6
  @javascript
7 8 9 10
  Scenario: I should see group dashboard list
    When I visit group page
    Then I should see projects list
    And I should see projects activity feed
randx's avatar
randx committed
11 12 13 14 15 16 17 18 19 20

  Scenario: I should see group issues list
    Given project from group has issues assigned to me
    When I visit group issues page
    Then I should see issues from this group assigned to me

  Scenario: I should see group merge requests list
    Given project from group has merge requests assigned to me
    When I visit group merge requests page
    Then I should see merge requests from this group assigned to me
21

22
  @javascript
23
  Scenario: I should add user to projects in Group
24
    Given Create user "John Doe"
25
    When I visit group members page
26 27
    And I select user "John Doe" from list with role "Reporter"
    Then I should see user "John Doe" in team list
28 29 30 31 32 33

  Scenario: I should see edit group page
    When I visit group settings page
    And I change group name
    Then I should see new group name

Steven Thonus's avatar
Steven Thonus committed
34 35 36 37 38 39 40 41 42 43 44 45 46 47
  Scenario: I edit my group avatar
    When I visit group settings page
    And I change my group avatar
    And I visit group settings page
    Then I should see new group avatar
    And I should see the "Remove avatar" button

  Scenario: I remove my group avatar
    When I visit group settings page
    And I have an group avatar
    And I visit group settings page
    And I remove my group avatar
    Then I should not see my group avatar
    And I should not see the "Remove avatar" button