summaryrefslogtreecommitdiff
path: root/features/steps
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-04-15 12:13:49 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-04-15 12:13:49 +0300
commit5d1ab47bd2dc80e8c5237416405009786ef58629 (patch)
tree78c6caf6f6a95b22496a1aed0e54e6dc6097bc6c /features/steps
parent400c9c5ae2c04340dc5a3490b27b393c410f63ad (diff)
downloadgitlab-ce-5d1ab47bd2dc80e8c5237416405009786ef58629.tar.gz
Revert help link tests removal
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'features/steps')
-rw-r--r--features/steps/dashboard/active_tab.rb3
-rw-r--r--features/steps/shared/paths.rb4
2 files changed, 7 insertions, 0 deletions
diff --git a/features/steps/dashboard/active_tab.rb b/features/steps/dashboard/active_tab.rb
index 19ff77b9fe6..0e2c04fb299 100644
--- a/features/steps/dashboard/active_tab.rb
+++ b/features/steps/dashboard/active_tab.rb
@@ -3,4 +3,7 @@ class Spinach::Features::DashboardActiveTab < Spinach::FeatureSteps
include SharedPaths
include SharedActiveTab
+ step 'the active main tab should be Help' do
+ ensure_active_main_tab('Help')
+ end
end
diff --git a/features/steps/shared/paths.rb b/features/steps/shared/paths.rb
index 8ce17b94142..e3cf1b92cda 100644
--- a/features/steps/shared/paths.rb
+++ b/features/steps/shared/paths.rb
@@ -83,6 +83,10 @@ module SharedPaths
visit search_path
end
+ step 'I visit dashboard help page' do
+ visit help_path
+ end
+
step 'I visit dashboard groups page' do
visit dashboard_groups_path
end