From 74d18fb6ffcec596c1dfc96b1ccfa4273bc51f97 Mon Sep 17 00:00:00 2001 From: filipefurtad0 Date: Fri, 28 Apr 2023 12:46:51 +0100 Subject: [PATCH] Removes assertions on transient JS element --- spec/system/admin/bulk_order_management_spec.rb | 3 --- 1 file changed, 3 deletions(-) diff --git a/spec/system/admin/bulk_order_management_spec.rb b/spec/system/admin/bulk_order_management_spec.rb index 3c40348f3f..3ecb090d4e 100644 --- a/spec/system/admin/bulk_order_management_spec.rb +++ b/spec/system/admin/bulk_order_management_spec.rb @@ -921,8 +921,6 @@ describe ' click_on "OK" end - expect(page).to have_content "Loading orders" - expect(page).to have_no_selector ".modal" expect(page).to have_no_selector "tr#li_#{li1.id}" expect(page).to have_selector "tr#li_#{li11.id}" @@ -1206,7 +1204,6 @@ describe ' end def expect_line_items_results(line_items, excluded_line_items) - expect(page).to have_text "Loading orders" line_items.each do |li| expect(page).to have_selector "tr#li_#{li.id}" end