diff options
author | Sato Hiroyuki <sathiroyuki@gmail.com> | 2013-03-06 15:17:01 +0900 |
---|---|---|
committer | Sato Hiroyuki <sathiroyuki@gmail.com> | 2013-03-06 16:36:11 +0900 |
commit | 83435e3d46355ff53b7241a5ec6e414dfdf152fa (patch) | |
tree | 2523ca8f68d7506c512028801e494ba824a2bf71 | |
parent | e7a67a55832aa8d7bf7d52ac07bf2850c9118633 (diff) | |
download | gitlab-ce-83435e3d46355ff53b7241a5ec6e414dfdf152fa.tar.gz |
Adding sleep statements to allow sufficient time for the page to settle.
-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 |