2012-06-16 11:50:14 +02:00
|
|
|
Feature: Dashboard
|
2012-09-10 10:51:02 +02:00
|
|
|
Background:
|
|
|
|
Given I sign in as a user
|
2012-06-16 11:50:14 +02:00
|
|
|
And I own project "Shop"
|
|
|
|
And project "Shop" has push event
|
2012-09-10 10:51:02 +02:00
|
|
|
And I visit dashboard page
|
2012-06-16 11:50:14 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2012-10-03 12:42:17 +02:00
|
|
|
Scenario: I should see groups list
|
|
|
|
Given I have group with projects
|
|
|
|
And I visit dashboard page
|
|
|
|
Then I should see groups list
|
|
|
|
|
2012-11-28 18:59:19 +01:00
|
|
|
Scenario: I should see correct projects count
|
|
|
|
Given I have group with projects
|
|
|
|
And group has a projects that does not belongs to me
|
|
|
|
When I visit dashboard page
|
|
|
|
Then I should see 1 project at group list
|
|
|
|
|
2012-08-03 18:29:54 +02:00
|
|
|
Scenario: I should see last push widget
|
2012-06-16 11:50:14 +02:00
|
|
|
Then I should see last push widget
|
|
|
|
And I click "Create Merge Request" link
|
|
|
|
Then I see prefilled new Merge Request page
|
|
|
|
|
2012-09-09 22:18:28 +02:00
|
|
|
Scenario: I should see User joined Project event
|
|
|
|
Given user with name "John Doe" joined project "Shop"
|
|
|
|
When I visit dashboard page
|
2012-10-02 11:32:59 +02:00
|
|
|
Then I should see "John Doe joined project at Shop" event
|
2012-09-09 23:27:47 +02:00
|
|
|
|
|
|
|
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
|
2012-10-02 11:32:59 +02:00
|
|
|
Then I should see "John Doe left project at Shop" event
|