BigW Consortium Gitlab

dashboard.feature 1.14 KB
Newer Older
1
@dashboard
randx committed
2
Feature: Dashboard
3 4
  Background:
    Given I sign in as a user
randx committed
5 6
    And I own project "Shop"
    And project "Shop" has push event
7
    And I visit dashboard page
randx committed
8

9
  @javascript
randx committed
10 11 12 13 14
  Scenario: I should see projects list
    Then I should see "New Project" link
    Then I should see "Shop" project link
    Then I should see project "Shop" activity feed

15 16 17 18 19
  Scenario: I should see groups list
    Given I have group with projects
    And I visit dashboard page
    Then I should see groups list

20
  @javascript
21
  Scenario: I should see last push widget
randx committed
22 23 24 25
    Then I should see last push widget
    And I click "Create Merge Request" link
    Then I see prefilled new Merge Request page

26
  @javascript
27 28 29
  Scenario: I should see User joined Project event
    Given user with name "John Doe" joined project "Shop"
    When I visit dashboard page
Douwe Maan committed
30
    Then I should see "John Doe joined project Shop" event
31

32
  @javascript
33 34 35 36
  Scenario: I should see User left Project event
    Given user with name "John Doe" joined project "Shop"
    And user with name "John Doe" left project "Shop"
    When I visit dashboard page
Douwe Maan committed
37
    Then I should see "John Doe left project Shop" event