summaryrefslogtreecommitdiff
path: root/features/admin
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-04-03 12:51:01 +0200
committerDouwe Maan <douwe@gitlab.com>2015-04-03 12:51:01 +0200
commit6237cae1f16475d874ea761a62350344bdbff617 (patch)
tree6ba05c7115410842e24f5472b64ae19a2205a69f /features/admin
parent9b3624071ec8932d468213109486f462a1770a2a (diff)
downloadgitlab-ce-6237cae1f16475d874ea761a62350344bdbff617.tar.gz
Add admin deploy keys tests.public-deploy-keys
Diffstat (limited to 'features/admin')
-rw-r--r--features/admin/deploy_keys.feature21
1 files changed, 21 insertions, 0 deletions
diff --git a/features/admin/deploy_keys.feature b/features/admin/deploy_keys.feature
new file mode 100644
index 00000000000..9df47eb51fd
--- /dev/null
+++ b/features/admin/deploy_keys.feature
@@ -0,0 +1,21 @@
+@admin
+Feature: Admin Deploy Keys
+ Background:
+ Given I sign in as an admin
+ And there are public deploy keys in system
+
+ Scenario: Deploy Keys list
+ When I visit admin deploy keys page
+ Then I should see all public deploy keys
+
+ Scenario: Deploy Keys show
+ When I visit admin deploy keys page
+ And I click on first deploy key
+ Then I should see deploy key details
+
+ Scenario: Deploy Keys new
+ When I visit admin deploy keys page
+ And I click 'New Deploy Key'
+ And I submit new deploy key
+ Then I should be on admin deploy keys page
+ And I should see newly created deploy key