Commit 301204c2 authored by Mike Greiling's avatar Mike Greiling

resize window when simulating dragging as horizontal scrolling causes issues in tests

parent 98b1b3fb
......@@ -560,6 +560,9 @@ describe 'Issue Boards', :js do
end
def drag(selector: '.board-list', list_from_index: 0, from_index: 0, to_index: 0, list_to_index: 0)
# ensure there is enough horizontal space for four boards
page.current_window.resize_to(2000, 800)
drag_to(selector: selector,
scrollable: '#board-app',
list_from_index: list_from_index,
......
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