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
Boxiang Sun
gitlab-ce
Commits
2ea76a41
Commit
2ea76a41
authored
Nov 01, 2017
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
prevent resolve buttons from being clicked twice triggering a race condition
parent
9985406a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
spec/features/merge_requests/diff_notes_resolve_spec.rb
spec/features/merge_requests/diff_notes_resolve_spec.rb
+2
-4
No files found.
spec/features/merge_requests/diff_notes_resolve_spec.rb
View file @
2ea76a41
...
...
@@ -241,10 +241,8 @@ feature 'Diff notes resolve', :js do
end
it
'resolves discussion'
do
page
.
all
(
'.note'
).
each
do
|
note
|
note
.
all
(
'.line-resolve-btn'
).
each
do
|
button
|
button
.
click
end
page
.
all
(
'.note .line-resolve-btn'
).
each
do
|
button
|
button
.
click
end
expect
(
page
).
to
have_content
(
'Resolved by'
)
...
...
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