diff --git a/app/views/explore/projects/_project.html.haml b/app/views/explore/projects/_project.html.haml
index 393c33b266a5132cbe6c5d47c630cf6fc24d7636..a9498416c8a11b4e7a550f6e381ae43e2eb6447f 100644
--- a/app/views/explore/projects/_project.html.haml
+++ b/app/views/explore/projects/_project.html.haml
@@ -21,5 +21,5 @@
       = link_to pluralize(project.repository.tag_names.count, 'tag'), project_tags_path(project)
     - else
       %i.icon-warning-sign
-        Empty repository
+      Empty repository
 
diff --git a/features/explore/projects.feature b/features/explore/projects.feature
index 2ed9707ec395fdd85f9585d5853f41c229669cbf..9827ebe3e573ae051eb6a11c85dabf6dc2e7d582 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"
diff --git a/features/steps/shared/paths.rb b/features/steps/shared/paths.rb
index 111d40c0e1b9c23230a45b0409104f315f28972f..ab1ae31ed748b57b31db88f892542e9eef29b76f 100644
--- a/features/steps/shared/paths.rb
+++ b/features/steps/shared/paths.rb
@@ -355,9 +355,13 @@ module SharedPaths
     visit explore_projects_path
   end
 
-  # ----------------------------------------
-  # Public Groups
-  # ----------------------------------------
+   step 'I visit the explore trending projects' do
+     visit trending_explore_projects_path
+   end
+
+   step 'I visit the explore starred projects' do
+     visit starred_explore_projects_path
+   end
 
   step 'I visit the public groups area' do
     visit explore_groups_path
diff --git a/features/steps/shared/project.rb b/features/steps/shared/project.rb
index ba6f090a7069dd701765d060095d49d861162660..1d894b33fbd7139a20168de9a8865ae9b490d25b 100644
--- a/features/steps/shared/project.rb
+++ b/features/steps/shared/project.rb
@@ -130,4 +130,9 @@ module SharedProject
   step 'public empty project "Empty Public Project"' do
     create :empty_project, :public, name: "Empty Public Project"
   end
+
+  step 'project "Community" has comments' do
+    project = Project.find_by(name: "Community")
+    2.times { create(:note_on_issue, project: project) }
+  end
 end