Commit 8063672adda8cda6765a2c7691c403217985d1fc

Authored by Dmitriy Zaporozhets
1 parent ff765bb2

Add sleep in tests to prevent random failing when next test starts before ajax r…

…equests for old one in progress
Showing 1 changed file with 3 additions and 0 deletions   Show diff stats
features/steps/project/project_issues.rb
... ... @@ -58,14 +58,17 @@ class ProjectIssues < Spinach::FeatureSteps
58 58  
59 59 Given 'I fill in issue search with "Release"' do
60 60 fill_in 'issue_search', with: "Release"
  61 + sleep 0.05
61 62 end
62 63  
63 64 Given 'I fill in issue search with "Bug"' do
64 65 fill_in 'issue_search', with: "Bug"
  66 + sleep 0.05
65 67 end
66 68  
67 69 And 'I fill in issue search with "0.3"' do
68 70 fill_in 'issue_search', with: "0.3"
  71 + sleep 0.05
69 72 end
70 73  
71 74 And 'I fill in issue search with "Something"' do
... ...