Merge branch 'sh-fix-award-emoji-transient-spec' into 'master'

Potential fix for intermittent spec failure in award emoji specs

Closes #30399

See merge request !10476
This commit is contained in:
Rémy Coutable 2017-04-05 14:02:08 +00:00
commit 7196adaaa4
1 changed files with 3 additions and 1 deletions

View File

@ -24,7 +24,9 @@ class Spinach::Features::AwardEmoji < Spinach::FeatureSteps
step 'I click to emoji in the picker' do
page.within '.emoji-menu-content' do
page.first('.js-emoji-btn').click
emoji_button = page.first('.js-emoji-btn')
emoji_button.hover
emoji_button.click
end
end