Commit 2b29a467 authored by Mike Greiling's avatar Mike Greiling

use resize_window helper

parent ed3b23fe
......@@ -2,6 +2,7 @@ require 'rails_helper'
describe 'Issue Boards', :js do
include DragTo
include MobileHelpers
let(:group) { create(:group, :nested) }
let(:project) { create(:project, :public, namespace: group) }
......@@ -564,7 +565,7 @@ describe 'Issue Boards', :js do
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)
resize_window(2000, 800)
drag_to(selector: selector,
scrollable: '#board-app',
......
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