Stabilise spec by waiting for JS

This commit is contained in:
Maikel Linke
2022-10-19 09:59:51 +11:00
parent a35fab5e1f
commit 04921aeed4

View File

@@ -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"