diff --git a/spec/system/admin/bulk_product_update_spec.rb b/spec/system/admin/bulk_product_update_spec.rb index 5a6e5e6129..0493b5719a 100644 --- a/spec/system/admin/bulk_product_update_spec.rb +++ b/spec/system/admin/bulk_product_update_spec.rb @@ -527,13 +527,14 @@ describe ' s2 = create(:supplier_enterprise) p1 = FactoryBot.create(:simple_product, name: "product1", supplier: s1) p2 = FactoryBot.create(:simple_product, name: "product2", supplier: s2) - login_as_admin - visit spree.admin_products_path + login_as_admin_and_visit spree.admin_products_path 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"