summaryrefslogtreecommitdiff
path: root/features/project/commits
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzegorz.bizon@ntsn.pl>2015-12-03 09:30:30 +0100
committerGrzegorz Bizon <grzegorz.bizon@ntsn.pl>2015-12-03 13:39:00 +0100
commit2b577551177c631d229eca6844520e29478085f8 (patch)
treef427553ed5fc427fc599e7c5cc36de280d342d46 /features/project/commits
parent554f4684622564fe496acb25cacb2daed3b9f3ac (diff)
downloadgitlab-ce-2b577551177c631d229eca6844520e29478085f8.tar.gz
Add feature test for emoji-only diff notes
This specs is related to bug described in #3734 (award-emojis).
Diffstat (limited to 'features/project/commits')
-rw-r--r--features/project/commits/diff_comments.feature6
1 files changed, 6 insertions, 0 deletions
diff --git a/features/project/commits/diff_comments.feature b/features/project/commits/diff_comments.feature
index 4a2b870e082..d6e0c84537e 100644
--- a/features/project/commits/diff_comments.feature
+++ b/features/project/commits/diff_comments.feature
@@ -14,6 +14,12 @@ Feature: Project Commits Diff Comments
Then I should see a diff comment saying "Typo, please fix"
@javascript
+ Scenario: I can add a diff comment with a single emoji
+ Given I open a diff comment form
+ And I write a diff comment like ":smile:"
+ Then I should see a diff comment with an emoji image
+
+ @javascript
Scenario: I get a temporary form for the first comment on a diff line
Given I open a diff comment form
Then I should see a temporary diff comment form