summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSato Hiroyuki <sathiroyuki@gmail.com>2013-03-06 15:17:01 +0900
committerSato Hiroyuki <sathiroyuki@gmail.com>2013-03-06 16:36:11 +0900
commit83435e3d46355ff53b7241a5ec6e414dfdf152fa (patch)
tree2523ca8f68d7506c512028801e494ba824a2bf71
parente7a67a55832aa8d7bf7d52ac07bf2850c9118633 (diff)
downloadgitlab-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.rb2
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