summaryrefslogtreecommitdiff
path: root/qa
diff options
context:
space:
mode:
authorWalmyr Lima <walmyr@gitlab.com>2019-08-26 18:13:12 +0200
committerWalmyr Lima <walmyr@gitlab.com>2019-08-26 18:13:15 +0200
commita9cae447f11b0e6a6a7c060f04dfe9ac5e65ef7e (patch)
tree6cbd288082b1e3870b02dbb2c218b678e8fc85d0 /qa
parente9a128b5742efdf16116f5bc86a66322d9d20b89 (diff)
downloadgitlab-ce-a9cae447f11b0e6a6a7c060f04dfe9ac5e65ef7e.tar.gz
Update issues submenuqa/issue-boards-navigation
With a new element and a new method to go to issue boards.
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