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
fe1bc3f0
Commit
fe1bc3f0
authored
Dec 17, 2019
by
sstern
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revist page with FF off
parent
7cfd6dac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
12 deletions
+13
-12
ee/spec/features/boards/boards_spec.rb
ee/spec/features/boards/boards_spec.rb
+13
-12
No files found.
ee/spec/features/boards/boards_spec.rb
View file @
fe1bc3f0
...
...
@@ -188,21 +188,22 @@ describe 'issue boards', :js do
end
context
'list settings'
do
let!
(
:label
)
{
create
(
:label
,
project:
project
,
name:
'Brount'
)
}
let!
(
:list
)
{
create
(
:list
,
board:
board
,
label:
label
,
position:
1
)
}
before
do
project
.
add_developer
(
user
)
login_as
(
user
)
visit
project_boards_path
(
project
)
end
context
'When FF is turned on'
do
it
'shows the list settings button'
do
expect
(
page
).
to
have_selector
(
:button
,
"List Settings"
)
let!
(
:label
)
{
create
(
:label
,
project:
project
,
name:
'Brount'
)
}
let!
(
:list
)
{
create
(
:list
,
board:
board
,
label:
label
,
position:
1
)
}
before
do
stub_feature_flags
(
wip_limits:
true
)
visit
project_boards_path
(
project
)
end
it
'does not show the board list settings sidebar as default state'
do
it
'shows the list settings button'
do
expect
(
page
).
to
have_selector
(
:button
,
"List Settings"
)
expect
(
page
).
not_to
have_selector
(
".js-board-settings-sidebar"
)
end
...
...
@@ -218,13 +219,13 @@ describe 'issue boards', :js do
end
context
'When FF is turned off'
do
# https://gitlab.com/gitlab-org/gitlab/issues/118658
it
'does not show the list settings button'
,
:quarantine
do
stub_licensed_features
(
wip_limits:
false
)
expect
(
page
).
to
have_no_selector
(
:button
,
"List Settings"
)
before
do
stub_feature_flags
(
wip_limits:
false
)
visit
project_boards_path
(
project
)
end
it
'does not show the board list settings sidebar'
do
it
'does not show the list settings button'
do
expect
(
page
).
to
have_no_selector
(
:button
,
"List Settings"
)
expect
(
page
).
not_to
have_selector
(
".js-board-settings-sidebar"
)
end
end
...
...
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