summaryrefslogtreecommitdiff
path: root/qa
diff options
context:
space:
mode:
authorSanad Liaquat <sliaquat@gitlab.com>2019-08-27 16:08:36 +0000
committerSanad Liaquat <sliaquat@gitlab.com>2019-08-27 16:08:36 +0000
commit6b10779053ff4233c7a64c5ab57754fce63f6710 (patch)
tree8d530cb6f48463d2f02c5219301c3a30fb8528e5 /qa
parent27c222d16ccb666878c7ac558f484efa56f77f37 (diff)
parenta9cae447f11b0e6a6a7c060f04dfe9ac5e65ef7e (diff)
downloadgitlab-ce-6b10779053ff4233c7a64c5ab57754fce63f6710.tar.gz
Merge branch 'qa/issue-boards-navigation' into 'master'
Update view for testability and update page object See merge request gitlab-org/gitlab-ce!32224
Diffstat (limited to 'qa')
-rw-r--r--qa/qa/page/project/sub_menus/issues.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/qa/qa/page/project/sub_menus/issues.rb b/qa/qa/page/project/sub_menus/issues.rb
index 8fb8fa06346..d27a250a300 100644
--- a/qa/qa/page/project/sub_menus/issues.rb
+++ b/qa/qa/page/project/sub_menus/issues.rb
@@ -10,6 +10,7 @@ module QA
def self.included(base)
base.class_eval do
view 'app/views/layouts/nav/sidebar/_project.html.haml' do
+ element :issue_boards_link
element :issues_item
element :labels_link
element :milestones_link
@@ -29,6 +30,14 @@ module QA
end
end
+ def go_to_boards
+ hover_issues do
+ within_submenu do
+ click_element(:issue_boards_link)
+ end
+ end
+ end
+
def go_to_labels
hover_issues do
within_submenu do