2014-06-04 20:55:27 +00:00
|
|
|
@dashboard
|
2012-06-16 09:50:14 +00:00
|
|
|
Feature: Dashboard
|
2012-09-10 08:51:02 +00:00
|
|
|
Background:
|
|
|
|
Given I sign in as a user
|
2012-06-16 09:50:14 +00:00
|
|
|
And I own project "Shop"
|
|
|
|
And project "Shop" has push event
|
2015-09-24 12:00:23 +00:00
|
|
|
And project "Shop" has CI enabled
|
|
|
|
And project "Shop" has CI build
|
2016-04-02 12:36:41 +00:00
|
|
|
And project "Shop" has labels: "bug", "feature", "enhancement"
|
2016-06-24 16:45:55 +00:00
|
|
|
And project "Shop" has issue: "bug report"
|
2012-09-10 08:51:02 +00:00
|
|
|
And I visit dashboard page
|
2012-06-16 09:50:14 +00:00
|
|
|
|
|
|
|
Scenario: I should see projects list
|
|
|
|
Then I should see "New Project" link
|
|
|
|
Then I should see "Shop" project link
|
2015-09-24 12:00:23 +00:00
|
|
|
Then I should see "Shop" project CI status
|
2015-08-25 14:36:54 +00:00
|
|
|
|
|
|
|
@javascript
|
|
|
|
Scenario: I should see activity list
|
|
|
|
And I visit dashboard activity page
|
2012-06-16 09:50:14 +00:00
|
|
|
Then I should see project "Shop" activity feed
|
|
|
|
|
2012-10-03 10:42:17 +00:00
|
|
|
Scenario: I should see groups list
|
|
|
|
Given I have group with projects
|
|
|
|
And I visit dashboard page
|
|
|
|
Then I should see groups list
|
|
|
|
|
2013-04-25 14:15:33 +00:00
|
|
|
@javascript
|
2012-08-03 16:29:54 +00:00
|
|
|
Scenario: I should see last push widget
|
2012-06-16 09:50:14 +00:00
|
|
|
Then I should see last push widget
|
|
|
|
And I click "Create Merge Request" link
|
|
|
|
Then I see prefilled new Merge Request page
|
|
|
|
|
2013-01-07 12:36:01 +00:00
|
|
|
@javascript
|
2012-09-09 20:18:28 +00:00
|
|
|
Scenario: I should see User joined Project event
|
|
|
|
Given user with name "John Doe" joined project "Shop"
|
2015-08-25 14:36:54 +00:00
|
|
|
When I visit dashboard activity page
|
2015-02-13 12:48:27 +00:00
|
|
|
Then I should see "John Doe joined project Shop" event
|
2012-09-09 21:27:47 +00:00
|
|
|
|
2013-01-07 12:36:01 +00:00
|
|
|
@javascript
|
2012-09-09 21:27:47 +00: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"
|
2015-08-25 14:36:54 +00:00
|
|
|
When I visit dashboard activity page
|
2015-02-13 12:48:27 +00:00
|
|
|
Then I should see "John Doe left project Shop" event
|
2016-01-21 17:54:10 +00:00
|
|
|
|
|
|
|
@javascript
|
|
|
|
Scenario: Sorting Issues
|
|
|
|
Given I visit dashboard issues page
|
|
|
|
And I sort the list by "Oldest updated"
|
|
|
|
And I visit dashboard activity page
|
|
|
|
And I visit dashboard issues page
|
|
|
|
Then The list should be sorted by "Oldest updated"
|
|
|
|
|
2016-04-02 12:36:41 +00:00
|
|
|
@javascript
|
|
|
|
Scenario: Filtering Issues by label
|
|
|
|
Given project "Shop" has issue "Bugfix1" with label "feature"
|
|
|
|
When I visit dashboard issues page
|
|
|
|
And I filter the list by label "feature"
|
|
|
|
Then I should see "Bugfix1" in issues list
|
|
|
|
|
2016-01-22 22:00:35 +00:00
|
|
|
@javascript
|
|
|
|
Scenario: Visiting Project's issues after sorting
|
|
|
|
Given I visit dashboard issues page
|
|
|
|
And I sort the list by "Oldest updated"
|
|
|
|
And I visit project "Shop" issues page
|
|
|
|
Then The list should be sorted by "Oldest updated"
|
|
|
|
|
2016-01-21 17:54:10 +00:00
|
|
|
@javascript
|
|
|
|
Scenario: Sorting Merge Requests
|
|
|
|
Given I visit dashboard merge requests page
|
|
|
|
And I sort the list by "Oldest updated"
|
|
|
|
And I visit dashboard activity page
|
|
|
|
And I visit dashboard merge requests page
|
|
|
|
Then The list should be sorted by "Oldest updated"
|
2016-01-22 22:00:35 +00:00
|
|
|
|
|
|
|
@javascript
|
|
|
|
Scenario: Visiting Project's merge requests after sorting
|
|
|
|
Given I visit dashboard merge requests page
|
|
|
|
And I sort the list by "Oldest updated"
|
|
|
|
And I visit project "Shop" merge requests page
|
|
|
|
Then The list should be sorted by "Oldest updated"
|