summaryrefslogtreecommitdiff
path: root/features/admin/projects.feature
diff options
context:
space:
mode:
authorDouwe Maan <me@douwe.me>2015-08-19 08:53:08 -0700
committerDouwe Maan <me@douwe.me>2015-08-19 08:53:08 -0700
commit4df4097e32dc17f4330de9246362ee9df9155345 (patch)
treea61bf43fa37efadc97bdca8c434909f81f733c2f /features/admin/projects.feature
parent3659d3b5c6eb645756b3df79a22471f8695f133b (diff)
parent07190227395674715522f7a6aef30d4235b5d55c (diff)
downloadgitlab-ce-4df4097e32dc17f4330de9246362ee9df9155345.tar.gz
Merge pull request #9551 from Telekom-PD/feature/search-for-archived-projects
Feature/search for archived projects
Diffstat (limited to 'features/admin/projects.feature')
-rw-r--r--features/admin/projects.feature11
1 files changed, 10 insertions, 1 deletions
diff --git a/features/admin/projects.feature b/features/admin/projects.feature
index a6c3d6b7822..f7cec04eb75 100644
--- a/features/admin/projects.feature
+++ b/features/admin/projects.feature
@@ -4,9 +4,18 @@ Feature: Admin Projects
Given I sign in as an admin
And there are projects in system
- Scenario: Projects list
+ Scenario: I should see non-archived projects in the list
+ Given archived project "Archive"
When I visit admin projects page
+ Then I should see all non-archived projects
+ And I should not see project "Archive"
+
+ Scenario: I should see all projects in the list
+ Given archived project "Archive"
+ When I visit admin projects page
+ And I check "Show archived projects"
Then I should see all projects
+ And I should see "archived" label
Scenario: Projects show
When I visit admin projects page