mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Stabilise spec by waiting for JS
This commit is contained in:
@@ -533,6 +533,8 @@ describe '
|
||||
select2_select s1.name, from: "producer_filter"
|
||||
apply_filters
|
||||
|
||||
sleep 2 # wait for page to initialise
|
||||
|
||||
expect(page).to have_no_field "product_name", with: p2.name
|
||||
fill_in "product_name", with: "new product1"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user