Adding sleep statements to allow sufficient time for the page to settle.
This commit is contained in:
parent
e7a67a5583
commit
83435e3d46
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
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
|
||||||
|
|
Loading…
Reference in a new issue