diff options
author | Sanad Liaquat <sliaquat@gitlab.com> | 2019-08-27 16:08:36 +0000 |
---|---|---|
committer | Sanad Liaquat <sliaquat@gitlab.com> | 2019-08-27 16:08:36 +0000 |
commit | 6b10779053ff4233c7a64c5ab57754fce63f6710 (patch) | |
tree | 8d530cb6f48463d2f02c5219301c3a30fb8528e5 /qa | |
parent | 27c222d16ccb666878c7ac558f484efa56f77f37 (diff) | |
parent | a9cae447f11b0e6a6a7c060f04dfe9ac5e65ef7e (diff) | |
download | gitlab-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.rb | 9 |
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 |