summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-09-26 16:00:11 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-09-26 16:00:11 +0300
commit8063672adda8cda6765a2c7691c403217985d1fc (patch)
tree8040bd7e5083cf6e6a2f2822a9179b63c8689638 /features
parentff765bb27ea405b85804348e0c9458519a87ee6a (diff)
downloadgitlab-ce-8063672adda8cda6765a2c7691c403217985d1fc.tar.gz
Add sleep in tests to prevent random failing when next test starts before ajax requests for old one in progress
Diffstat (limited to 'features')
-rw-r--r--features/steps/project/project_issues.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/features/steps/project/project_issues.rb b/features/steps/project/project_issues.rb
index 6c18177498f..70e5cdf4a94 100644
--- a/features/steps/project/project_issues.rb
+++ b/features/steps/project/project_issues.rb
@@ -58,14 +58,17 @@ class ProjectIssues < Spinach::FeatureSteps
Given 'I fill in issue search with "Release"' do
fill_in 'issue_search', with: "Release"
+ sleep 0.05
end
Given 'I fill in issue search with "Bug"' do
fill_in 'issue_search', with: "Bug"
+ sleep 0.05
end
And 'I fill in issue search with "0.3"' do
fill_in 'issue_search', with: "0.3"
+ sleep 0.05
end
And 'I fill in issue search with "Something"' do