diff options
author | Sato Hiroyuki <sathiroyuki@gmail.com> | 2013-03-06 10:17:01 +0400 |
---|---|---|
committer | Sato Hiroyuki <sathiroyuki@gmail.com> | 2013-03-06 11:36:11 +0400 |
commit | 83435e3d46355ff53b7241a5ec6e414dfdf152fa (patch) | |
tree | 2523ca8f68d7506c512028801e494ba824a2bf71 /features | |
parent | e7a67a55832aa8d7bf7d52ac07bf2850c9118633 (diff) |
Adding sleep statements to allow sufficient time for the page to settle.
Diffstat (limited to 'features')
-rw-r--r-- | features/steps/project/project_network_graph.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/features/steps/project/project_network_graph.rb b/features/steps/project/project_network_graph.rb index 2ca629883a9..7e9a7c295d0 100644 --- a/features/steps/project/project_network_graph.rb +++ b/features/steps/project/project_network_graph.rb @@ -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 |