summaryrefslogtreecommitdiff
path: root/qa/qa/mobile/page/profile/menu.rb
diff options
context:
space:
mode:
Diffstat (limited to 'qa/qa/mobile/page/profile/menu.rb')
-rw-r--r--qa/qa/mobile/page/profile/menu.rb26
1 files changed, 26 insertions, 0 deletions
diff --git a/qa/qa/mobile/page/profile/menu.rb b/qa/qa/mobile/page/profile/menu.rb
new file mode 100644
index 00000000000..34c53a95e03
--- /dev/null
+++ b/qa/qa/mobile/page/profile/menu.rb
@@ -0,0 +1,26 @@
+# frozen_string_literal: true
+
+module QA
+ module Mobile
+ module Page
+ module Profile
+ module Menu
+ extend QA::Page::PageConcern
+
+ def self.prepended(base)
+ super
+
+ base.class_eval do
+ prepend QA::Mobile::Page::Main::Menu
+ end
+ end
+
+ def within_sidebar
+ open_mobile_nav_sidebar
+ super
+ end
+ end
+ end
+ end
+ end
+end