summaryrefslogtreecommitdiff
path: root/features/project/issues/award_emoji.feature
diff options
context:
space:
mode:
Diffstat (limited to 'features/project/issues/award_emoji.feature')
-rw-r--r--features/project/issues/award_emoji.feature30
1 files changed, 30 insertions, 0 deletions
diff --git a/features/project/issues/award_emoji.feature b/features/project/issues/award_emoji.feature
new file mode 100644
index 00000000000..9a06fdc2ee6
--- /dev/null
+++ b/features/project/issues/award_emoji.feature
@@ -0,0 +1,30 @@
+@project_issues
+Feature: Award Emoji
+ Background:
+ Given I sign in as a user
+ And I own project "Shop"
+ And project "Shop" has issue "Bugfix"
+ And I visit "Bugfix" issue page
+
+ @javascript
+ Scenario: I add and remove award in the issue
+ Given I click to emoji-picker
+ And I click to emoji in the picker
+ Then I have award added
+ And I can remove it by clicking to icon
+
+ @javascript
+ Scenario: I can see the list of emoji categories
+ Given I click to emoji-picker
+ Then I can see the activity and food categories
+
+ @javascript
+ Scenario: I can search emoji
+ Given I click to emoji-picker
+ And I search "hand"
+ Then I see search result for "hand"
+
+ @javascript
+ Scenario: I add award emoji using regular comment
+ Given I leave comment with a single emoji
+ Then I have award added