Merge pull request #3658 from mkllnk/3582-shipping-method-spec

Wait for entered tag before submitting
This commit is contained in:
Maikel
2019-03-28 13:46:56 +11:00
committed by GitHub

View File

@@ -104,7 +104,7 @@ feature 'shipping methods' do
check "shipping_method_shipping_categories_"
find(:css, "tags-input .tags input").set "local\n"
within(".tags .tag-list") do
expect(page).to have_css '.tag-item'
expect(page).to have_css '.tag-item', text: "local"
end
click_button I18n.t("actions.create")