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
Show 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
...
@@ -188,21 +188,22 @@ describe 'issue boards', :js do
end
end
context
'list settings'
do
context
'list settings'
do
before
do
project
.
add_developer
(
user
)
login_as
(
user
)
end
context
'When FF is turned on'
do
let!
(
:label
)
{
create
(
:label
,
project:
project
,
name:
'Brount'
)
}
let!
(
:label
)
{
create
(
:label
,
project:
project
,
name:
'Brount'
)
}
let!
(
:list
)
{
create
(
:list
,
board:
board
,
label:
label
,
position:
1
)
}
let!
(
:list
)
{
create
(
:list
,
board:
board
,
label:
label
,
position:
1
)
}
before
do
before
do
project
.
add_developer
(
user
)
stub_feature_flags
(
wip_limits:
true
)
login_as
(
user
)
visit
project_boards_path
(
project
)
visit
project_boards_path
(
project
)
end
end
context
'When FF is turned on'
do
it
'shows the list settings button'
do
it
'shows the list settings button'
do
expect
(
page
).
to
have_selector
(
:button
,
"List Settings"
)
expect
(
page
).
to
have_selector
(
:button
,
"List Settings"
)
end
it
'does not show the board list settings sidebar as default state'
do
expect
(
page
).
not_to
have_selector
(
".js-board-settings-sidebar"
)
expect
(
page
).
not_to
have_selector
(
".js-board-settings-sidebar"
)
end
end
...
@@ -218,13 +219,13 @@ describe 'issue boards', :js do
...
@@ -218,13 +219,13 @@ describe 'issue boards', :js do
end
end
context
'When FF is turned off'
do
context
'When FF is turned off'
do
# https://gitlab.com/gitlab-org/gitlab/issues/118658
before
do
it
'does not show the list settings button'
,
:quarantine
do
stub_feature_flags
(
wip_limits:
false
)
stub_licensed_features
(
wip_limits:
false
)
visit
project_boards_path
(
project
)
expect
(
page
).
to
have_no_selector
(
:button
,
"List Settings"
)
end
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"
)
expect
(
page
).
not_to
have_selector
(
".js-board-settings-sidebar"
)
end
end
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