try workaround for failing test
(closes foodcoops#303)
This commit is contained in:
parent
21838e9c84
commit
72709be60a
1 changed files with 1 additions and 0 deletions
|
@ -112,6 +112,7 @@ describe 'settling an order', :type => :feature do
|
||||||
fill_in :order_article_units_to_order, :with => 0
|
fill_in :order_article_units_to_order, :with => 0
|
||||||
find('input[type="submit"]').click
|
find('input[type="submit"]').click
|
||||||
end
|
end
|
||||||
|
sleep 0.5 # workaround "javascript error" "e is null"
|
||||||
expect(page).to have_selector("#order_article_#{oa.id}")
|
expect(page).to have_selector("#order_article_#{oa.id}")
|
||||||
# make sure it still works after reloading
|
# make sure it still works after reloading
|
||||||
visit new_finance_order_path(order_id: order.id)
|
visit new_finance_order_path(order_id: order.id)
|
||||||
|
|
Loading…
Reference in a new issue