Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
2b29a467
Commit
2b29a467
authored
Nov 02, 2017
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use resize_window helper
parent
ed3b23fe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
spec/features/boards/boards_spec.rb
spec/features/boards/boards_spec.rb
+2
-1
No files found.
spec/features/boards/boards_spec.rb
View file @
2b29a467
...
@@ -2,6 +2,7 @@ require 'rails_helper'
...
@@ -2,6 +2,7 @@ require 'rails_helper'
describe
'Issue Boards'
,
:js
do
describe
'Issue Boards'
,
:js
do
include
DragTo
include
DragTo
include
MobileHelpers
let
(
:group
)
{
create
(
:group
,
:nested
)
}
let
(
:group
)
{
create
(
:group
,
:nested
)
}
let
(
:project
)
{
create
(
:project
,
:public
,
namespace:
group
)
}
let
(
:project
)
{
create
(
:project
,
:public
,
namespace:
group
)
}
...
@@ -564,7 +565,7 @@ describe 'Issue Boards', :js do
...
@@ -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
)
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
# ensure there is enough horizontal space for four boards
page
.
current_window
.
resize_to
(
2000
,
800
)
resize_window
(
2000
,
800
)
drag_to
(
selector:
selector
,
drag_to
(
selector:
selector
,
scrollable:
'#board-app'
,
scrollable:
'#board-app'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment