Commit 83435e3d46355ff53b7241a5ec6e414dfdf152fa

Authored by Sato Hiroyuki
1 parent e7a67a55

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

features/steps/project/project_network_graph.rb
@@ -27,6 +27,7 @@ class ProjectNetworkGraph < Spinach::FeatureSteps @@ -27,6 +27,7 @@ class ProjectNetworkGraph < Spinach::FeatureSteps
27 27
28 And 'I switch ref to "stable"' do 28 And 'I switch ref to "stable"' do
29 page.select 'stable', :from => 'ref' 29 page.select 'stable', :from => 'ref'
  30 + sleep 2
30 end 31 end
31 32
32 And 'page should select "stable" in select box' do 33 And 'page should select "stable" in select box' do
@@ -44,6 +45,7 @@ class ProjectNetworkGraph < Spinach::FeatureSteps @@ -44,6 +45,7 @@ class ProjectNetworkGraph < Spinach::FeatureSteps
44 fill_in 'q', :with => '98d6492' 45 fill_in 'q', :with => '98d6492'
45 find('button').click 46 find('button').click
46 end 47 end
  48 + sleep 2
47 end 49 end
48 50
49 And 'page should have "v2.1.0" on graph' do 51 And 'page should have "v2.1.0" on graph' do