Potential fix for intermittent spec failure in award emoji specs

Hover and then click seems to make this work more reliably.

Closes #30399
This commit is contained in:
Stan Hu 2017-04-05 03:54:37 -07:00
parent 65ea732cfe
commit 32e2783fb9

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