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
0
Merge Requests
0
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
Jérome Perrin
gitlab-ce
Commits
d1ecbd6c
Commit
d1ecbd6c
authored
Feb 10, 2017
by
Felipe Artur
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix admin_labels_spec.rb transient failure
parent
199b17e5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
spec/features/admin/admin_labels_spec.rb
spec/features/admin/admin_labels_spec.rb
+6
-5
No files found.
spec/features/admin/admin_labels_spec.rb
View file @
d1ecbd6c
...
@@ -35,17 +35,18 @@ RSpec.describe 'admin issues labels' do
...
@@ -35,17 +35,18 @@ RSpec.describe 'admin issues labels' do
it
'deletes all labels'
,
js:
true
do
it
'deletes all labels'
,
js:
true
do
page
.
within
'.labels'
do
page
.
within
'.labels'
do
page
.
all
(
'.btn-remove'
).
each
do
|
remove
|
page
.
all
(
'.btn-remove'
).
each
do
|
remove
|
wait_for_ajax
remove
.
click
remove
.
click
wait_for_ajax
end
end
end
end
page
.
within
'.manage-labels-list'
do
wait_for_ajax
expect
(
page
).
to
have_content
(
"There are no labels yet"
)
expect
(
page
).
not_to
have_content
(
'bug'
)
expect
(
page
).
not_to
have_content
(
'bug'
)
expect
(
page
).
not_to
have_content
(
'feature_label'
)
expect
(
page
).
not_to
have_content
(
'feature_label'
)
end
end
end
end
end
describe
'create'
do
describe
'create'
do
before
do
before
do
...
...
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