Commit 8063672adda8cda6765a2c7691c403217985d1fc
1 parent
ff765bb2
Exists in
master
and in
4 other branches
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,14 +58,17 @@ class ProjectIssues < Spinach::FeatureSteps | ||
| 58 | 58 | ||
| 59 | Given 'I fill in issue search with "Release"' do | 59 | Given 'I fill in issue search with "Release"' do |
| 60 | fill_in 'issue_search', with: "Release" | 60 | fill_in 'issue_search', with: "Release" |
| 61 | + sleep 0.05 | ||
| 61 | end | 62 | end |
| 62 | 63 | ||
| 63 | Given 'I fill in issue search with "Bug"' do | 64 | Given 'I fill in issue search with "Bug"' do |
| 64 | fill_in 'issue_search', with: "Bug" | 65 | fill_in 'issue_search', with: "Bug" |
| 66 | + sleep 0.05 | ||
| 65 | end | 67 | end |
| 66 | 68 | ||
| 67 | And 'I fill in issue search with "0.3"' do | 69 | And 'I fill in issue search with "0.3"' do |
| 68 | fill_in 'issue_search', with: "0.3" | 70 | fill_in 'issue_search', with: "0.3" |
| 71 | + sleep 0.05 | ||
| 69 | end | 72 | end |
| 70 | 73 | ||
| 71 | And 'I fill in issue search with "Something"' do | 74 | And 'I fill in issue search with "Something"' do |