summaryrefslogtreecommitdiff
path: root/features/explore/projects.feature
diff options
context:
space:
mode:
Diffstat (limited to 'features/explore/projects.feature')
-rw-r--r--features/explore/projects.feature21
1 files changed, 19 insertions, 2 deletions
diff --git a/features/explore/projects.feature b/features/explore/projects.feature
index 5d3870827f5..63b0ac65c4b 100644
--- a/features/explore/projects.feature
+++ b/features/explore/projects.feature
@@ -31,8 +31,17 @@ Feature: Explore Projects
Then I should see empty public project details
And I should see empty public project details with http clone info
- Scenario: I visit an empty public project page as user
+ Scenario: I visit an empty public project page as user with no ssh-keys
Given I sign in as a user
+ And I have no ssh keys
+ And public empty project "Empty Public Project"
+ When I visit empty project page
+ Then I should see empty public project details
+ And I should see empty public project details with http clone info
+
+ Scenario: I visit an empty public project page as user with an ssh-key
+ Given I sign in as a user
+ And I have ssh key "ssh-rsa Work"
And public empty project "Empty Public Project"
When I visit empty project page
Then I should see empty public project details
@@ -57,8 +66,16 @@ Feature: Explore Projects
Then I should see project "Community" home page
And I should see an http link to the repository
- Scenario: I visit public project page as user
+ Scenario: I visit public project page as user with no ssh-keys
+ Given I sign in as a user
+ And I have no ssh keys
+ When I visit project "Community" page
+ Then I should see project "Community" home page
+ And I should see an http link to the repository
+
+ Scenario: I visit public project page as user with an ssh-key
Given I sign in as a user
+ And I have ssh key "ssh-rsa Work"
When I visit project "Community" page
Then I should see project "Community" home page
And I should see an ssh link to the repository