1 Feature: Public Projects Feature
3 Given public project "Community"
4 And internal project "Internal"
5 And private project "Enterprise"
7 Scenario: I visit public area
8 When I visit the public projects area
9 Then I should see project "Community"
10 And I should not see project "Internal"
11 And I should not see project "Enterprise"
13 Scenario: I visit public project page
14 When I visit project "Community" page
15 Then I should see project "Community" home page
17 Scenario: I visit internal project page
18 When I visit project "Internal" page
19 Then I should be redirected to sign in page
21 Scenario: I visit private project page
22 When I visit project "Enterprise" page
23 Then I should be redirected to sign in page
25 Scenario: I visit an empty public project page
26 Given public empty project "Empty Public Project"
27 When I visit empty project page
28 Then I should see empty public project details
30 Scenario: I visit public area as user
31 Given I sign in as a user
32 When I visit the public projects area
33 Then I should see project "Community"
34 And I should see project "Internal"
35 And I should not see project "Enterprise"
37 Scenario: I visit internal project page as user
38 Given I sign in as a user
39 When I visit project "Internal" page
40 Then I should see project "Internal" home page
42 Scenario: I visit public project page
43 When I visit project "Community" page
44 Then I should see project "Community" home page
45 And I should see a http link to the repository
47 Scenario: I visit public area as user
48 Given I sign in as a user
49 When I visit project "Community" page
50 Then I should see project "Community" home page
51 And I should see a ssh link to the repository