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
6ed042bb
Commit
6ed042bb
authored
Jan 12, 2021
by
Florie Guibert
Committed by
Eulyeon Ko
Mar 25, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix RSPEC test for graphQL project boards
Update tests for GraphQL boards on projects
parent
94fb3fe7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
0 deletions
+7
-0
ee/spec/features/boards/swimlanes/epics_swimlanes_spec.rb
ee/spec/features/boards/swimlanes/epics_swimlanes_spec.rb
+1
-0
ee/spec/features/issues/filtered_search/filter_issues_by_iteration_spec.rb
...issues/filtered_search/filter_issues_by_iteration_spec.rb
+4
-0
spec/features/boards/modal_filter_spec.rb
spec/features/boards/modal_filter_spec.rb
+2
-0
No files found.
ee/spec/features/boards/swimlanes/epics_swimlanes_spec.rb
View file @
6ed042bb
...
...
@@ -10,6 +10,7 @@ RSpec.describe 'epics swimlanes', :js do
let_it_be
(
:board
)
{
create
(
:board
,
project:
project
)
}
let_it_be
(
:label
)
{
create
(
:label
,
project:
project
,
name:
'Label1'
)
}
let_it_be
(
:list
)
{
create
(
:list
,
board:
board
,
label:
label
,
position:
0
)
}
let_it_be
(
:backlog_list
)
{
create
(
:backlog_list
,
board:
board
)
}
let_it_be
(
:issue1
)
{
create
(
:issue
,
project:
project
,
labels:
[
label
])
}
let_it_be
(
:issue2
)
{
create
(
:issue
,
project:
project
)
}
...
...
ee/spec/features/issues/filtered_search/filter_issues_by_iteration_spec.rb
View file @
6ed042bb
...
...
@@ -81,6 +81,8 @@ RSpec.describe 'Filter issues by iteration', :js do
before
do
# iterationWildCardId is not yet supported by graphQL https://gitlab.com/gitlab-org/gitlab/-/issues/300115
stub_feature_flags
(
graphql_board_lists:
false
)
visit
page_path
page
.
within
(
'.filtered-search-wrapper'
)
do
find
(
'.filtered-search'
).
set
(
'iter'
)
...
...
@@ -140,6 +142,7 @@ RSpec.describe 'Filter issues by iteration', :js do
context
'project board'
do
let_it_be
(
:board
)
{
create
(
:board
,
project:
project
)
}
let_it_be
(
:backlog_list
)
{
create
(
:backlog_list
,
board:
board
)
}
let
(
:page_path
)
{
project_board_path
(
project
,
board
)
}
let
(
:issue_title_selector
)
{
'.board-card .board-card-title'
}
...
...
@@ -157,6 +160,7 @@ RSpec.describe 'Filter issues by iteration', :js do
context
'group board'
do
let_it_be
(
:board
)
{
create
(
:board
,
group:
group
)
}
let_it_be
(
:backlog_list
)
{
create
(
:backlog_list
,
board:
board
)
}
let_it_be
(
:user
)
{
create
(
:user
)
}
let
(
:page_path
)
{
group_board_path
(
group
,
board
)
}
...
...
spec/features/boards/modal_filter_spec.rb
View file @
6ed042bb
...
...
@@ -12,6 +12,8 @@ RSpec.describe 'Issue Boards add issue modal filtering', :js do
let!
(
:issue1
)
{
create
(
:issue
,
project:
project
)
}
before
do
stub_feature_flags
(
graphql_board_lists:
false
)
stub_feature_flags
(
add_issues_button:
true
)
project
.
add_maintainer
(
user
)
sign_in
(
user
)
...
...
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