summaryrefslogtreecommitdiff
path: root/features/steps/project/issues
diff options
context:
space:
mode:
authorAnnabel Dunstone <a.dunstone89@gmail.com>2016-02-19 07:32:20 -0600
committerAnnabel Dunstone <a.dunstone89@gmail.com>2016-02-19 07:32:20 -0600
commitb80df0873524825a3dedc9d35427941db94c8ab7 (patch)
treea66b3adf155ae1262906c6c656d2616aceeaf1a7 /features/steps/project/issues
parent074fa8f2b94bbd3039da96819b5f0e615274a101 (diff)
downloadgitlab-ce-b80df0873524825a3dedc9d35427941db94c8ab7.tar.gz
Add timeout for ajax call in award emoji steps; update focus in award picker
Diffstat (limited to 'features/steps/project/issues')
-rw-r--r--features/steps/project/issues/award_emoji.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/features/steps/project/issues/award_emoji.rb b/features/steps/project/issues/award_emoji.rb
index 93cf608cc62..ff9677ba972 100644
--- a/features/steps/project/issues/award_emoji.rb
+++ b/features/steps/project/issues/award_emoji.rb
@@ -96,6 +96,7 @@ class Spinach::Features::AwardEmoji < Spinach::FeatureSteps
end
step 'The search field is focused' do
+ sleep 0.8
page.evaluate_script("document.activeElement.id").should eq "emoji_search"
end
end