Commit 83435e3d authored by Sato Hiroyuki's avatar Sato Hiroyuki

Adding sleep statements to allow sufficient time for the page to settle.

parent e7a67a55
...@@ -27,6 +27,7 @@ class ProjectNetworkGraph < Spinach::FeatureSteps ...@@ -27,6 +27,7 @@ class ProjectNetworkGraph < Spinach::FeatureSteps
And 'I switch ref to "stable"' do And 'I switch ref to "stable"' do
page.select 'stable', :from => 'ref' page.select 'stable', :from => 'ref'
sleep 2
end end
And 'page should select "stable" in select box' do And 'page should select "stable" in select box' do
...@@ -44,6 +45,7 @@ class ProjectNetworkGraph < Spinach::FeatureSteps ...@@ -44,6 +45,7 @@ class ProjectNetworkGraph < Spinach::FeatureSteps
fill_in 'q', :with => '98d6492' fill_in 'q', :with => '98d6492'
find('button').click find('button').click
end end
sleep 2
end end
And 'page should have "v2.1.0" on graph' do And 'page should have "v2.1.0" on graph' do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment