diff options
author | Nicolas <nicolas@gitlab.com> | 2015-06-09 01:12:38 +0200 |
---|---|---|
committer | Nicolas <nicolas@gitlab.com> | 2015-06-09 14:45:38 +0200 |
commit | ebe4963871e4e2aa38b5b359af34d4f7062b7dfb (patch) | |
tree | 4cbaeab021489f2bf152ca2fe847c96b301579c4 /features/steps | |
parent | b637f849503db06f38812184aec398f2e4e29d09 (diff) | |
download | gitlab-ce-ebe4963871e4e2aa38b5b359af34d4f7062b7dfb.tar.gz |
Move Project Members link from Settings to main menu.
Addresses #2278.
Diffstat (limited to 'features/steps')
-rw-r--r-- | features/steps/shared/paths.rb | 4 | ||||
-rw-r--r-- | features/steps/shared/project_tab.rb | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/features/steps/shared/paths.rb b/features/steps/shared/paths.rb index d9401bd540c..46493876805 100644 --- a/features/steps/shared/paths.rb +++ b/features/steps/shared/paths.rb @@ -227,6 +227,10 @@ module SharedPaths visit namespace_project_merge_requests_path(@project.namespace, @project) end + step "I visit my project's members page" do + visit namespace_project_project_members_path(@project.namespace, @project) + end + step "I visit my project's wiki page" do visit namespace_project_wiki_path(@project.namespace, @project, :home) end diff --git a/features/steps/shared/project_tab.rb b/features/steps/shared/project_tab.rb index c5aed19331c..71fe89f634f 100644 --- a/features/steps/shared/project_tab.rb +++ b/features/steps/shared/project_tab.rb @@ -28,6 +28,10 @@ module SharedProjectTab ensure_active_main_tab('Issues') end + step 'the active main tab should be Members' do + ensure_active_main_tab('Members') + end + step 'the active main tab should be Merge Requests' do ensure_active_main_tab('Merge Requests') end |