summaryrefslogtreecommitdiff
path: root/features/project
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2016-03-17 16:25:21 -0700
committerStan Hu <stanhu@gmail.com>2016-03-17 17:34:15 -0700
commit0901d5172429630c8d1ea6d8e91be71a2e690043 (patch)
treef78a89a3e303e5cf85124ca6148d16366b23d34d /features/project
parentabaf7ed2e58121cc44b39a779d02fd7da4541028 (diff)
downloadgitlab-ce-0901d5172429630c8d1ea6d8e91be71a2e690043.tar.gz
Improve award emoji test reliability by checking that the emoji is displayed
before the search field is focused
Diffstat (limited to 'features/project')
-rw-r--r--features/project/issues/award_emoji.feature11
1 files changed, 7 insertions, 4 deletions
diff --git a/features/project/issues/award_emoji.feature b/features/project/issues/award_emoji.feature
index 2945bb3753a..f0fd414a9f9 100644
--- a/features/project/issues/award_emoji.feature
+++ b/features/project/issues/award_emoji.feature
@@ -18,21 +18,24 @@ Feature: Award Emoji
@javascript
Scenario: I add and remove custom award in the issue
Given I click to emoji-picker
- Then The search field is focused
- And I click to emoji in the picker
+ Then The emoji menu is visible
+ And The search field is focused
+ Then 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 The search field is focused
+ Then The emoji menu is visible
+ And The search field is focused
Then I can see the activity and food categories
@javascript
Scenario: I can search emoji
Given I click to emoji-picker
- Then The search field is focused
+ Then The emoji menu is visible
+ And The search field is focused
And I search "hand"
Then I see search result for "hand"