BigW Consortium Gitlab

award_emoji.feature 1.32 KB
Newer Older
Douwe Maan committed
1
@project_issues
Valery Sizov committed
2 3 4 5 6 7 8 9
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
10 11 12 13 14 15 16 17 18 19
  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
Valery Sizov committed
20
    Given I click to emoji-picker
21 22 23
    Then The emoji menu is visible
    And The search field is focused
    Then I click to emoji in the picker
Valery Sizov committed
24 25
    Then I have award added
    And I can remove it by clicking to icon
26

Valery Sizov committed
27 28 29
  @javascript
  Scenario: I can see the list of emoji categories
    Given I click to emoji-picker
30 31
    Then The emoji menu is visible
    And The search field is focused
Valery Sizov committed
32 33
    Then I can see the activity and food categories

Valery Sizov committed
34
  @javascript
Valery Sizov committed
35 36
  Scenario: I can search emoji
    Given I click to emoji-picker
37 38
    Then The emoji menu is visible
    And The search field is focused
Valery Sizov committed
39 40 41
    And I search "hand"
    Then I see search result for "hand"

42 43
  @javascript
  Scenario: I add award emoji using regular comment
44 45
    Given I leave comment with a single emoji
    Then I have award added