mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-14 23:47:48 +00:00
Updates spec after merging #9325
This commit is contained in:
@@ -109,11 +109,12 @@ describe "shopping with variant overrides defined", js: true do
|
||||
page.find(".graph-button").click
|
||||
end
|
||||
end
|
||||
|
||||
it "shows the price breakdown modal" do
|
||||
within(:xpath, '//body') do
|
||||
within(".price_breakdown") do
|
||||
expect(page).to have_content("Price breakdown")
|
||||
expect(page).to have_content("Packing fee")
|
||||
expect(page).to have_content(enterprise_fee.name.to_s)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user