diff options
author | Stan Hu <stanhu@gmail.com> | 2017-04-05 03:54:37 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2017-04-05 03:54:37 -0700 |
commit | 32e2783fb91a27d750b6a767d9726e68081c2e69 (patch) | |
tree | 109a118f7c5447a301b94d27db2aca53588cef72 | |
parent | 65ea732cfebd7efe5a0ae9b31eef4349c38cfa4b (diff) | |
download | gitlab-ce-32e2783fb91a27d750b6a767d9726e68081c2e69.tar.gz |
Potential fix for intermittent spec failure in award emoji specssh-fix-award-emoji-transient-spec
Hover and then click seems to make this work more reliably.
Closes #30399
-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 |