diff options
author | Stan Hu <stanhu@gmail.com> | 2017-04-05 13:54:37 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2017-04-05 13:54:37 +0300 |
commit | 32e2783fb91a27d750b6a767d9726e68081c2e69 (patch) | |
tree | 109a118f7c5447a301b94d27db2aca53588cef72 /features/steps/project/issues | |
parent | 65ea732cfebd7efe5a0ae9b31eef4349c38cfa4b (diff) |
Potential fix for intermittent spec failure in award emoji specs
Hover and then click seems to make this work more reliably.
Closes #30399
Diffstat (limited to 'features/steps/project/issues')
-rw-r--r-- | features/steps/project/issues/award_emoji.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/features/steps/project/issues/award_emoji.rb b/features/steps/project/issues/award_emoji.rb index e55dc2913c3..a4cfc1fb8c8 100644 --- a/features/steps/project/issues/award_emoji.rb +++ b/features/steps/project/issues/award_emoji.rb @@ -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 |