Skip to content

Commit

Permalink
fixup! Add new table with collapsible locations for banks with many l…
Browse files Browse the repository at this point in the history
…ocations
  • Loading branch information
ChaelCodes committed Jul 29, 2023
1 parent c48562c commit 7904293
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/system/item_system_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@
expect(tab_items_quantity_location_text).not_to have_content num_tampons_second_donation
expandable_row = find("td", text: item_tampons.name).find(:xpath, "..")
expandable_row.click
expanded_row = find(".expandable-body", visible: true).find(:xpath, "..")
expanded_row = find(".expandable-body", visible: true).text
expect(expanded_row).to have_content storage_name
expect(expanded_row).to have_content num_tampons_in_donation
expect(expanded_row).to have_content num_tampons_second_donation
Expand Down

0 comments on commit 7904293

Please sign in to comment.