Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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