gitlab-org--gitlab-foss/features/project/deploy_keys.feature

47 lines
1.4 KiB
Gherkin
Raw Normal View History

2013-05-06 08:09:41 -04:00
Feature: Project Deploy Keys
Background:
Given I sign in as a user
And I own project "Shop"
2017-04-28 15:59:20 -04:00
@javascript
2013-05-06 08:09:41 -04:00
Scenario: I should see deploy keys list
Given project has deploy key
When I visit project deploy keys page
2015-04-03 06:40:14 -04:00
Then I should see project deploy key
2017-04-28 15:59:20 -04:00
@javascript
2015-04-03 06:40:14 -04:00
Scenario: I should see project deploy keys
Given other projects have deploy keys
2015-04-03 06:40:14 -04:00
When I visit project deploy keys page
Then I should see other project deploy key
And I should only see the same deploy key once
2015-04-03 06:40:14 -04:00
2017-04-28 15:59:20 -04:00
@javascript
2015-04-03 06:40:14 -04:00
Scenario: I should see public deploy keys
Given public deploy key exists
When I visit project deploy keys page
Then I should see public deploy key
2013-05-06 08:09:41 -04:00
2017-04-28 15:59:20 -04:00
@javascript
2013-05-06 08:09:41 -04:00
Scenario: I add new deploy key
Given I visit project deploy keys page
And I submit new deploy key
Then I should be on deploy keys page
And I should see newly created deploy key
2017-04-28 15:59:20 -04:00
@javascript
2015-04-03 06:40:14 -04:00
Scenario: I attach other project deploy key to project
Given other projects have deploy keys
2013-05-06 08:09:41 -04:00
And I visit project deploy keys page
When I click attach deploy key
Then I should be on deploy keys page
And I should see newly created deploy key
2015-04-03 06:40:14 -04:00
2017-04-28 15:59:20 -04:00
@javascript
2015-04-03 06:40:14 -04:00
Scenario: I attach public deploy key to project
Given public deploy key exists
And I visit project deploy keys page
When I click attach deploy key
Then I should be on deploy keys page
And I should see newly created deploy key