Adding sleep statements to allow sufficient time for the page to settle.

5-0-stable
Sato Hiroyuki 2013-03-06 15:17:01 +09:00
parent e7a67a5583
commit 83435e3d46
1 changed files with 2 additions and 0 deletions

View File

@ -27,6 +27,7 @@ class ProjectNetworkGraph < Spinach::FeatureSteps
And 'I switch ref to "stable"' do
page.select 'stable', :from => 'ref'
sleep 2
end
And 'page should select "stable" in select box' do
@ -44,6 +45,7 @@ class ProjectNetworkGraph < Spinach::FeatureSteps
fill_in 'q', :with => '98d6492'
find('button').click
end
sleep 2
end
And 'page should have "v2.1.0" on graph' do