Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2017-04-05 13:54:37 +0300
committerStan Hu <stanhu@gmail.com>2017-04-05 13:54:37 +0300
commit32e2783fb91a27d750b6a767d9726e68081c2e69 (patch)
tree109a118f7c5447a301b94d27db2aca53588cef72 /features
parent65ea732cfebd7efe5a0ae9b31eef4349c38cfa4b (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')
-rw-r--r--features/steps/project/issues/award_emoji.rb4
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