Commit aea036c7 authored by James Fargher's avatar James Fargher

Try scroll to project menu elements before hovering

parent 9c8c9ab1
...@@ -129,6 +129,7 @@ module QA ...@@ -129,6 +129,7 @@ module QA
def hover_issues def hover_issues
within_sidebar do within_sidebar do
scroll_to_element(:issues_item)
find_element(:issues_item).hover find_element(:issues_item).hover
yield yield
...@@ -137,6 +138,7 @@ module QA ...@@ -137,6 +138,7 @@ module QA
def hover_operations def hover_operations
within_sidebar do within_sidebar do
scroll_to('.shortcuts-operations')
find('.shortcuts-operations').hover find('.shortcuts-operations').hover
yield yield
...@@ -145,6 +147,7 @@ module QA ...@@ -145,6 +147,7 @@ module QA
def hover_settings def hover_settings
within_sidebar do within_sidebar do
scroll_to('.qa-settings-item')
find('.qa-settings-item').hover find('.qa-settings-item').hover
yield yield
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment