summaryrefslogtreecommitdiff
path: root/features/steps/shared
diff options
context:
space:
mode:
Diffstat (limited to 'features/steps/shared')
-rw-r--r--features/steps/shared/paths.rb10
-rw-r--r--features/steps/shared/project.rb5
2 files changed, 12 insertions, 3 deletions
diff --git a/features/steps/shared/paths.rb b/features/steps/shared/paths.rb
index 111d40c0e1b..ab1ae31ed74 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 ba6f090a706..1d894b33fbd 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