Give product import spec more time

It seems to be really slow.
This commit is contained in:
Maikel Linke
2021-12-07 17:06:45 +11:00
parent d99feeaaa5
commit 5793ddfe1b

View File

@@ -722,6 +722,8 @@ describe "Product Import", js: true do
# expect(page).to have_content I18n.t('admin.product_import.save_results.final_results')
#
# Being more explicit seems to work:
expect(page).to have_selector("h5", text: "Import final results")
using_wait_time 60 do
expect(page).to have_selector("h5", text: "Import final results")
end
end
end