mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Check tag js has finished executing before submitting form
This commit is contained in:
@@ -94,6 +94,9 @@ feature 'shipping methods' do
|
||||
|
||||
check "shipping_method_distributor_ids_#{distributor1.id}"
|
||||
find(:css, "tags-input .tags input").set "local\n"
|
||||
within(".tags .tag-list") do
|
||||
expect(page).to have_css '.tag-item'
|
||||
end
|
||||
|
||||
click_button 'Create'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user