try workaround for failing test

(closes foodcoops#303)
This commit is contained in:
wvengen 2014-08-25 16:32:32 +02:00
parent 21838e9c84
commit 72709be60a
1 changed files with 1 additions and 0 deletions

View File

@ -112,6 +112,7 @@ describe 'settling an order', :type => :feature do
fill_in :order_article_units_to_order, :with => 0
find('input[type="submit"]').click
end
sleep 0.5 # workaround "javascript error" "e is null"
expect(page).to have_selector("#order_article_#{oa.id}")
# make sure it still works after reloading
visit new_finance_order_path(order_id: order.id)