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
87b3c73e
Commit
87b3c73e
authored
Mar 31, 2016
by
Annabel Dunstone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update diff_comments tests
parent
de63de18
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
features/project/commits/diff_comments.feature
features/project/commits/diff_comments.feature
+3
-3
features/steps/shared/diff_note.rb
features/steps/shared/diff_note.rb
+2
-2
No files found.
features/project/commits/diff_comments.feature
View file @
87b3c73e
...
...
@@ -57,9 +57,9 @@ Feature: Project Commits Diff Comments
Then
I should see two separate previews
@javascript
Scenario
:
I
have
a reply button
in discussions
Scenario
:
I
have
can reply
in discussions
Given
I leave a diff comment like
"Typo, please fix"
Then
I should see a discussion reply
button
Then
I should see a discussion reply
text field
@javascript
Scenario
:
I
can preview with text
...
...
@@ -83,7 +83,7 @@ Feature: Project Commits Diff Comments
Given I preview a diff comment text like "Should fix it
:
smile
:
"
And
I submit the diff comment
Then
I should not see the diff comment form
And
I should see a discussion reply
button
And
I should see a discussion reply
text field
@javascript
Scenario
:
I
can add a comment on a side-by-side commit diff (left side)
...
...
features/steps/shared/diff_note.rb
View file @
87b3c73e
...
...
@@ -153,9 +153,9 @@ module SharedDiffNote
end
end
step
'I should see a discussion reply
button
'
do
step
'I should see a discussion reply
text field
'
do
page
.
within
(
diff_file_selector
)
do
expect
(
page
).
to
have_
button
(
'Reply
'
)
expect
(
page
).
to
have_
css
(
'.note-reply-field
'
)
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