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:
parent
65ea732cfe
commit
32e2783fb9
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue