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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
5840c36a
Commit
5840c36a
authored
Apr 05, 2019
by
charlieablett
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move weight filter spec to `ee`
parent
d835f9eb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
8 deletions
+30
-8
ee/spec/features/boards/add_issues_modal_spec.rb
ee/spec/features/boards/add_issues_modal_spec.rb
+30
-0
spec/features/boards/add_issues_modal_spec.rb
spec/features/boards/add_issues_modal_spec.rb
+0
-8
No files found.
ee/spec/features/boards/add_issues_modal_spec.rb
0 → 100644
View file @
5840c36a
require
'rails_helper'
describe
'Issue Boards add issue modal'
,
:js
do
let
(
:project
)
{
create
(
:project
,
:public
)
}
let
(
:board
)
{
create
(
:board
,
project:
project
)
}
let
(
:user
)
{
create
(
:user
)
}
let!
(
:planning
)
{
create
(
:label
,
project:
project
,
name:
'Planning'
)
}
let!
(
:label
)
{
create
(
:label
,
project:
project
)
}
let!
(
:list1
)
{
create
(
:list
,
board:
board
,
label:
planning
,
position:
0
)
}
let!
(
:list2
)
{
create
(
:list
,
board:
board
,
label:
label
,
position:
1
)
}
let!
(
:issue
)
{
create
(
:issue
,
project:
project
,
title:
'abc'
,
description:
'def'
)
}
let!
(
:issue2
)
{
create
(
:issue
,
project:
project
,
title:
'hij'
,
description:
'klm'
)
}
before
do
project
.
add_maintainer
(
user
)
sign_in
(
user
)
visit
project_board_path
(
project
,
board
)
wait_for_requests
end
it
'shows weight filter'
do
click_button
(
'Add issues'
)
wait_for_requests
find
(
'.add-issues-search .filtered-search'
).
click
expect
(
page
.
find
(
'.filter-dropdown'
)).
to
have_content
'weight'
end
end
\ No newline at end of file
spec/features/boards/add_issues_modal_spec.rb
View file @
5840c36a
...
...
@@ -34,14 +34,6 @@ describe 'Issue Boards add issue modal', :js do
end
end
it
'shows weight filter'
do
click_button
(
'Add issues'
)
wait_for_requests
find
(
'.add-issues-search .filtered-search'
).
click
expect
(
page
.
find
(
'.filter-dropdown'
)).
to
have_content
'weight'
end
context
'modal interaction'
do
it
'opens modal'
do
click_button
(
'Add issues'
)
...
...
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