OSDN Git Service

Adding sleep statements to allow sufficient time for the page to settle.
authorSato Hiroyuki <sathiroyuki@gmail.com>
Wed, 6 Mar 2013 06:17:01 +0000 (15:17 +0900)
committerSato Hiroyuki <sathiroyuki@gmail.com>
Wed, 6 Mar 2013 07:36:11 +0000 (16:36 +0900)
features/steps/project/project_network_graph.rb

index 2ca6298..7e9a7c2 100644 (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