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:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-09-26 17:00:11 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-09-26 17:00:11 +0400
commit8063672adda8cda6765a2c7691c403217985d1fc (patch)
tree8040bd7e5083cf6e6a2f2822a9179b63c8689638 /features
parentff765bb27ea405b85804348e0c9458519a87ee6a (diff)
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