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
71a0f073
Commit
71a0f073
authored
3 years ago
by
Scott Stern
Committed by
Andrew Fontaine
3 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix filter count on epic board lists
parent
3edccefc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
ee/app/assets/javascripts/boards/graphql/epic_board_lists.query.graphql
...javascripts/boards/graphql/epic_board_lists.query.graphql
+2
-2
ee/spec/features/epic_boards/epic_boards_spec.rb
ee/spec/features/epic_boards/epic_boards_spec.rb
+5
-0
No files found.
ee/app/assets/javascripts/boards/graphql/epic_board_lists.query.graphql
View file @
71a0f073
#import "./epic_board_list.fragment.graphql"
query
ListEpics
(
$fullPath
:
ID
!,
$boardId
:
BoardsEpicBoardID
!)
{
query
ListEpics
(
$fullPath
:
ID
!,
$boardId
:
BoardsEpicBoardID
!
,
$filters
:
EpicFilters
)
{
group
(
fullPath
:
$fullPath
)
{
board
:
epicBoard
(
id
:
$boardId
)
{
lists
{
lists
(
epicFilters
:
$filters
)
{
nodes
{
...
EpicBoardListFragment
}
...
...
This diff is collapsed.
Click to expand it.
ee/spec/features/epic_boards/epic_boards_spec.rb
View file @
71a0f073
...
...
@@ -234,6 +234,7 @@ RSpec.describe 'epic boards', :js do
wait_for_requests
expect
(
list_header
(
label_list
)).
to
have_content
(
'0'
)
expect
(
page
).
not_to
have_content
(
'Epic1'
)
expect
(
page
).
to
have_content
(
'Epic2'
)
expect
(
page
).
to
have_content
(
'Epic3'
)
...
...
@@ -250,6 +251,7 @@ RSpec.describe 'epic boards', :js do
wait_for_requests
expect
(
list_header
(
label_list
)).
to
have_content
(
'1'
)
expect
(
page
).
to
have_content
(
'Epic1'
)
expect
(
page
).
not_to
have_content
(
'Epic2'
)
expect
(
page
).
not_to
have_content
(
'Epic3'
)
...
...
@@ -266,6 +268,7 @@ RSpec.describe 'epic boards', :js do
wait_for_requests
expect
(
list_header
(
label_list
)).
to
have_content
(
'1'
)
expect
(
page
).
to
have_content
(
'Epic1'
)
expect
(
page
).
not_to
have_content
(
'Epic2'
)
expect
(
page
).
not_to
have_content
(
'Epic3'
)
...
...
@@ -282,6 +285,7 @@ RSpec.describe 'epic boards', :js do
wait_for_requests
expect
(
list_header
(
label_list
)).
to
have_content
(
'0'
)
expect
(
page
).
not_to
have_content
(
'Epic1'
)
expect
(
page
).
to
have_content
(
'Epic2'
)
expect
(
page
).
to
have_content
(
'Epic3'
)
...
...
@@ -296,6 +300,7 @@ RSpec.describe 'epic boards', :js do
wait_for_requests
expect
(
list_header
(
label_list
)).
to
have_content
(
'1'
)
expect
(
page
).
to
have_content
(
'Epic1'
)
expect
(
page
).
not_to
have_content
(
'Epic2'
)
expect
(
page
).
not_to
have_content
(
'Epic3'
)
...
...
This diff is collapsed.
Click to expand it.
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