Commit 32e2783f authored by Stan Hu's avatar Stan Hu

Potential fix for intermittent spec failure in award emoji specs

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

Closes #30399
parent 65ea732c
...@@ -24,7 +24,9 @@ class Spinach::Features::AwardEmoji < Spinach::FeatureSteps ...@@ -24,7 +24,9 @@ class Spinach::Features::AwardEmoji < Spinach::FeatureSteps
step 'I click to emoji in the picker' do step 'I click to emoji in the picker' do
page.within '.emoji-menu-content' 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
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment