diff options
author | sliaquat <sliaquat@gitlab.com> | 2018-10-04 17:46:57 +0300 |
---|---|---|
committer | sliaquat <sliaquat@gitlab.com> | 2018-10-09 14:24:29 +0300 |
commit | b7a5b204ba4f8afc4fc627660c035d253dcd4d79 (patch) | |
tree | 73fff937b5f434a748d078d389d0e97ed03cc3ab /qa/qa.rb | |
parent | 867b4f066f362edde126cf8c0132430c3946f2cc (diff) |
Reorganize menu files
Add missed files
Use correct method
Implement review feedback
Add missing frozen_string_literal
Squash 5 commits
Diffstat (limited to 'qa/qa.rb')
-rw-r--r-- | qa/qa.rb | 12 |
1 files changed, 5 insertions, 7 deletions
@@ -120,6 +120,7 @@ module QA module Main autoload :Login, 'qa/page/main/login' + autoload :Menu, 'qa/page/main/menu' autoload :OAuth, 'qa/page/main/oauth' autoload :SignUp, 'qa/page/main/sign_up' end @@ -128,13 +129,6 @@ module QA autoload :Common, 'qa/page/settings/common' end - module Menu - autoload :Main, 'qa/page/menu/main' - autoload :Side, 'qa/page/menu/side' - autoload :Admin, 'qa/page/menu/admin' - autoload :Profile, 'qa/page/menu/profile' - end - module Dashboard autoload :Projects, 'qa/page/dashboard/projects' autoload :Groups, 'qa/page/dashboard/groups' @@ -158,6 +152,7 @@ module QA autoload :New, 'qa/page/project/new' autoload :Show, 'qa/page/project/show' autoload :Activity, 'qa/page/project/activity' + autoload :Menu, 'qa/page/project/menu' module Import autoload :Github, 'qa/page/project/import/github' @@ -217,6 +212,7 @@ module QA end module Profile + autoload :Menu, 'qa/page/profile/menu' autoload :PersonalAccessTokens, 'qa/page/profile/personal_access_tokens' autoload :SSHKeys, 'qa/page/profile/ssh_keys' end @@ -235,6 +231,8 @@ module QA end module Admin + autoload :Menu, 'qa/page/admin/menu' + module Settings autoload :Repository, 'qa/page/admin/settings/repository' |