Updates spec after merging #9325

This commit is contained in:
filipefurtad0
2022-06-24 20:56:19 +01:00
parent 2ba9d250f2
commit 43b6ab5dc5

View File

@@ -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