From d3ea53877d689df64db9c68f43e2c08f527b01ed Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Sat, 26 Jul 2014 10:33:42 +0300 Subject: Tests for trending/starred pages Signed-off-by: Dmitriy Zaporozhets --- features/explore/projects.feature | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'features/explore/projects.feature') diff --git a/features/explore/projects.feature b/features/explore/projects.feature index 2ed9707ec39..9827ebe3e57 100644 --- a/features/explore/projects.feature +++ b/features/explore/projects.feature @@ -100,3 +100,17 @@ Feature: Explore Projects Feature And I visit "Internal" merge requests page And project "Internal" has "Feature implemented" open merge request Then I should see list of merge requests for "Internal" project + + Scenario: Trending page + Given I sign in as a user + And project "Community" has comments + When I visit the explore trending projects + Then I should see project "Community" + And I should not see project "Internal" + And I should not see project "Enterprise" + + Scenario: Most starred page + Given I sign in as a user + When I visit the explore starred projects + Then I should see project "Community" + And I should see project "Internal" -- cgit v1.2.1