2015-04-26 12:48:37 +05:30
|
|
|
require_relative 'active_tab'
|
|
|
|
|
|
|
|
module SharedProjectTab
|
|
|
|
include Spinach::DSL
|
|
|
|
include SharedActiveTab
|
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
step 'the active main tab should be Project' do
|
2015-04-26 12:48:37 +05:30
|
|
|
ensure_active_main_tab('Project')
|
|
|
|
end
|
|
|
|
|
2016-06-22 15:30:34 +05:30
|
|
|
step 'the active main tab should be Repository' do
|
|
|
|
ensure_active_main_tab('Repository')
|
2015-04-26 12:48:37 +05:30
|
|
|
end
|
|
|
|
|
|
|
|
step 'the active main tab should be Issues' do
|
|
|
|
ensure_active_main_tab('Issues')
|
|
|
|
end
|
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
step 'the active sub tab should be Members' do
|
|
|
|
ensure_active_sub_tab('Members')
|
2015-09-11 14:41:01 +05:30
|
|
|
end
|
|
|
|
|
2015-04-26 12:48:37 +05:30
|
|
|
step 'the active main tab should be Merge Requests' do
|
|
|
|
ensure_active_main_tab('Merge Requests')
|
|
|
|
end
|
|
|
|
|
|
|
|
step 'the active main tab should be Snippets' do
|
|
|
|
ensure_active_main_tab('Snippets')
|
|
|
|
end
|
|
|
|
|
|
|
|
step 'the active main tab should be Wiki' do
|
|
|
|
ensure_active_main_tab('Wiki')
|
|
|
|
end
|
|
|
|
|
2017-09-10 17:25:29 +05:30
|
|
|
step 'the active main tab should be Members' do
|
|
|
|
ensure_active_main_tab('Members')
|
|
|
|
end
|
|
|
|
|
2015-04-26 12:48:37 +05:30
|
|
|
step 'the active main tab should be Settings' do
|
2017-08-17 22:00:37 +05:30
|
|
|
ensure_active_main_tab('Settings')
|
2015-04-26 12:48:37 +05:30
|
|
|
end
|
2015-09-11 14:41:01 +05:30
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
step 'the active sub tab should be Graph' do
|
|
|
|
ensure_active_sub_tab('Graph')
|
2015-12-23 02:04:40 +05:30
|
|
|
end
|
2016-06-16 23:09:34 +05:30
|
|
|
|
|
|
|
step 'the active sub tab should be Files' do
|
|
|
|
ensure_active_sub_tab('Files')
|
|
|
|
end
|
|
|
|
|
|
|
|
step 'the active sub tab should be Commits' do
|
|
|
|
ensure_active_sub_tab('Commits')
|
|
|
|
end
|
2017-08-17 22:00:37 +05:30
|
|
|
|
|
|
|
step 'the active sub tab should be Home' do
|
|
|
|
ensure_active_sub_tab('Home')
|
|
|
|
end
|
|
|
|
|
|
|
|
step 'the active sub tab should be Activity' do
|
|
|
|
ensure_active_sub_tab('Activity')
|
|
|
|
end
|
|
|
|
|
|
|
|
step 'the active sub tab should be Charts' do
|
|
|
|
ensure_active_sub_tab('Charts')
|
|
|
|
end
|
2015-04-26 12:48:37 +05:30
|
|
|
end
|