summaryrefslogtreecommitdiff
path: root/features/admin
diff options
context:
space:
mode:
authorArtem Sidorenko <artem.sidorenko@telekom.de>2015-08-18 17:46:57 +0200
committerArtem Sidorenko <artem.sidorenko@telekom.de>2015-08-19 13:47:03 +0200
commit07190227395674715522f7a6aef30d4235b5d55c (patch)
treea61bf43fa37efadc97bdca8c434909f81f733c2f /features/admin
parent15cdf551fc612495f4bdbb02bf109feee33a471f (diff)
downloadgitlab-ce-07190227395674715522f7a6aef30d4235b5d55c.tar.gz
Spinach tests
Diffstat (limited to 'features/admin')
-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