Move to apparition for integration tests

This commit is contained in:
wvengen 2019-10-28 09:39:32 +01:00 committed by wvengen
parent 8823ca2060
commit 6d9c35db20
13 changed files with 65 additions and 53 deletions

View file

@ -50,7 +50,9 @@ feature Order, js: true do
oa.update_results!
# and close the order
visit orders_path
click_link_or_button I18n.t('orders.index.action_end')
accept_confirm do
click_link_or_button I18n.t('orders.index.action_end')
end
expect(page).to have_selector('.alert-success')
order.reload
oa.reload