From 70f25b17ec7a4944f37808d9bca8ff56d7ab2c31 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..5708a0f1ac 100644 --- a/spec/system/item_system_spec.rb +++ b/spec/system/item_system_spec.rb @@ -203,11 +203,8 @@ 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" + find(item_tampons.name).find(:xpath, "..").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