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