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
d7fdf51c
Commit
d7fdf51c
authored
Apr 17, 2019
by
Lin Jen-Shin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Try to make sure the element can be found
parent
02856f06
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
ee/spec/features/merge_request/batch_comments_spec.rb
ee/spec/features/merge_request/batch_comments_spec.rb
+4
-0
No files found.
ee/spec/features/merge_request/batch_comments_spec.rb
View file @
d7fdf51c
...
@@ -124,6 +124,10 @@ describe 'Merge request > Batch comments', :js do
...
@@ -124,6 +124,10 @@ describe 'Merge request > Batch comments', :js do
it
'adds draft comments to both sides'
do
it
'adds draft comments to both sides'
do
write_parallel_comment
(
'2f6fcd96b88b36ce98c38da085c795a27d92a3dd_10_9'
)
write_parallel_comment
(
'2f6fcd96b88b36ce98c38da085c795a27d92a3dd_10_9'
)
# make sure line 9 is in the view
execute_script
(
"window.scrollBy(0, -200)"
)
write_parallel_comment
(
'2f6fcd96b88b36ce98c38da085c795a27d92a3dd_9_9'
,
button_text:
'Add to review'
,
text:
'Another wrong line'
)
write_parallel_comment
(
'2f6fcd96b88b36ce98c38da085c795a27d92a3dd_9_9'
,
button_text:
'Add to review'
,
text:
'Another wrong line'
)
expect
(
find
(
'.new .draft-note-component'
)).
to
have_content
(
'Line is wrong'
)
expect
(
find
(
'.new .draft-note-component'
)).
to
have_content
(
'Line is wrong'
)
...
...
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