gitlab-org--gitlab-foss/features/project/issues/award_emoji.feature

46 lines
1.3 KiB
Gherkin
Raw Normal View History

2015-12-09 04:50:28 -05:00
@project_issues
2015-11-19 06:20:09 -05:00
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
2016-02-13 05:47:15 -05:00
Scenario: I repeatedly add and remove thumbsup award in the issue
Given I click the thumbsup award Emoji
Then I have award added
Given I click the thumbsup award Emoji
Then I have no awards added
Given I click the thumbsup award Emoji
Then I have award added
@javascript
Scenario: I add and remove custom award in the issue
2015-11-19 06:20:09 -05:00
Given I click to emoji-picker
Then The emoji menu is visible
And The search field is focused
Then I click to emoji in the picker
2015-11-19 06:20:09 -05:00
Then I have award added
And I can remove it by clicking to icon
2015-12-22 12:47:38 -05:00
@javascript
Scenario: I can see the list of emoji categories
Given I click to emoji-picker
Then The emoji menu is visible
And The search field is focused
2015-12-22 12:47:38 -05:00
Then I can see the activity and food categories
2015-12-24 04:57:46 -05:00
@javascript
2015-12-23 05:01:31 -05:00
Scenario: I can search emoji
Given I click to emoji-picker
Then The emoji menu is visible
And The search field is focused
2015-12-23 05:01:31 -05:00
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