2014-09-02 18:07:02 +05:30
|
|
|
Feature: Project Deploy Keys
|
|
|
|
Background:
|
|
|
|
Given I sign in as a user
|
|
|
|
And I own project "Shop"
|
|
|
|
|
|
|
|
Scenario: I should see deploy keys list
|
|
|
|
Given project has deploy key
|
|
|
|
When I visit project deploy keys page
|
2015-04-26 12:48:37 +05:30
|
|
|
Then I should see project deploy key
|
|
|
|
|
|
|
|
Scenario: I should see project deploy keys
|
2015-09-11 14:41:01 +05:30
|
|
|
Given other projects have deploy keys
|
2015-04-26 12:48:37 +05:30
|
|
|
When I visit project deploy keys page
|
2015-09-11 14:41:01 +05:30
|
|
|
Then I should see other project deploy key
|
|
|
|
And I should only see the same deploy key once
|
2015-04-26 12:48:37 +05:30
|
|
|
|
|
|
|
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
|
2014-09-02 18:07:02 +05:30
|
|
|
|
|
|
|
Scenario: I add new deploy key
|
|
|
|
Given I visit project deploy keys page
|
|
|
|
When I click 'New Deploy Key'
|
|
|
|
And I submit new deploy key
|
|
|
|
Then I should be on deploy keys page
|
|
|
|
And I should see newly created deploy key
|
|
|
|
|
2015-04-26 12:48:37 +05:30
|
|
|
Scenario: I attach other project deploy key to project
|
2015-09-11 14:41:01 +05:30
|
|
|
Given other projects have deploy keys
|
2014-09-02 18:07:02 +05:30
|
|
|
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-26 12:48:37 +05:30
|
|
|
|
|
|
|
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
|