From 04ff4c31a2134bc382d7f4b8c74cf63c37dfe5d0 Mon Sep 17 00:00:00 2001 From: ChaelCodes Date: Sat, 29 Jul 2023 19:39:51 +0000 Subject: [PATCH] fixup! Add new table with collapsible locations for banks with many locations --- spec/system/item_system_spec.rb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/spec/system/item_system_spec.rb b/spec/system/item_system_spec.rb index 047458daf4..a2480bbf4f 100644 --- a/spec/system/item_system_spec.rb +++ b/spec/system/item_system_spec.rb @@ -203,13 +203,10 @@ expect(tab_items_quantity_location_text).not_to have_content num_pullups_second_donation expect(tab_items_quantity_location_text).not_to have_content num_tampons_in_donation expect(tab_items_quantity_location_text).not_to have_content num_tampons_second_donation - click_link item_pullups.name # href="#sectionD" - click_link item_tampons.name # href="#sectionD" + first("tr").click expect(tab_items_quantity_location_text).to have_content storage_name expect(tab_items_quantity_location_text).to have_content num_pullups_in_donation expect(tab_items_quantity_location_text).to have_content num_pullups_second_donation - expect(tab_items_quantity_location_text).to have_content num_tampons_in_donation - expect(tab_items_quantity_location_text).to have_content num_tampons_second_donation end end