From 5793ddfe1b1480a2a0f5e73caae1fbc8e4645124 Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Tue, 7 Dec 2021 17:06:45 +1100 Subject: [PATCH] Give product import spec more time It seems to be really slow. --- spec/system/admin/product_import_spec.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spec/system/admin/product_import_spec.rb b/spec/system/admin/product_import_spec.rb index e9bb45ca62..5a8e62046f 100644 --- a/spec/system/admin/product_import_spec.rb +++ b/spec/system/admin/product_import_spec.rb @@ -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