diff options
author | James Fargher <proglottis@gmail.com> | 2019-01-08 05:56:14 +0300 |
---|---|---|
committer | James Fargher <proglottis@gmail.com> | 2019-01-08 08:42:39 +0300 |
commit | aea036c70d4f4f8ecd2e2cf86f913e667d1d604f (patch) | |
tree | 9488e67881ec891207d83c3ff1b155e46b1e6997 /qa | |
parent | 9c8c9ab14507d45e9c8f5541055cc1c45617caea (diff) |
Try scroll to project menu elements before hovering
Diffstat (limited to 'qa')
-rw-r--r-- | qa/qa/page/project/menu.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/qa/qa/page/project/menu.rb b/qa/qa/page/project/menu.rb index 835e1ed00b5..57ef844672c 100644 --- a/qa/qa/page/project/menu.rb +++ b/qa/qa/page/project/menu.rb @@ -129,6 +129,7 @@ module QA def hover_issues within_sidebar do + scroll_to_element(:issues_item) find_element(:issues_item).hover yield @@ -137,6 +138,7 @@ module QA def hover_operations within_sidebar do + scroll_to('.shortcuts-operations') find('.shortcuts-operations').hover yield @@ -145,6 +147,7 @@ module QA def hover_settings within_sidebar do + scroll_to('.qa-settings-item') find('.qa-settings-item').hover yield |