summaryrefslogtreecommitdiff
path: root/features/public
diff options
context:
space:
mode:
authorMarin Jankovski <marin@gitlab.com>2014-02-02 16:32:12 +0100
committerMarin Jankovski <marin@gitlab.com>2014-02-02 16:32:12 +0100
commit75cecf36e0d60bd4ca1dce0997745268b49eaee5 (patch)
treee519aa8fb76760b1332c982dafff37af2f645db8 /features/public
parentd40a7de170e57ec72eb362b4e015e19fd35780d3 (diff)
downloadgitlab-ce-75cecf36e0d60bd4ca1dce0997745268b49eaee5.tar.gz
Scenarios for checking if MR are shown for internal and public projects.
Diffstat (limited to 'features/public')
-rw-r--r--features/public/public_projects.feature17
1 files changed, 17 insertions, 0 deletions
diff --git a/features/public/public_projects.feature b/features/public/public_projects.feature
index adfe97a4ce3..fae7789b9ff 100644
--- a/features/public/public_projects.feature
+++ b/features/public/public_projects.feature
@@ -79,3 +79,20 @@ Feature: Public Projects Feature
Given I visit project "Internal" page
And I visit "Internal" issues page
Then I should see list of issues for "Internal" project
+
+ Scenario: I visit public project merge requests page as an authorized user
+ Given I sign in as a user
+ Given I visit project "Community" page
+ And I visit "Community" merge requests page
+ Then I should see list of merge requests for "Community" project
+
+ Scenario: I visit public project merge requests page as a non authorized user
+ Given I visit project "Community" page
+ And I visit "Community" merge requests page
+ Then I should see list of merge requests for "Community" project
+
+ Scenario: I visit internal project merge requests page as an authorized user
+ Given I sign in as a user
+ Given I visit project "Internal" page
+ And I visit "Internal" merge requests page
+ Then I should see list of merge requests for "Internal" project