mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Make features/admin/orders_spec test a bit more reliable by expecting element to be there before using it
This commit is contained in:
@@ -116,6 +116,7 @@ feature '
|
||||
page.find('a.icon-search').click
|
||||
|
||||
click_icon :edit
|
||||
expect(page).to have_select2 "order_distributor_id", with_options: [d.name]
|
||||
select2_select d.name, from: 'order_distributor_id'
|
||||
select2_select oc.name, from: 'order_order_cycle_id'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user