Fix system spec to take into account discounted tax

This commit is contained in:
Gaetan Craig-Riou
2023-09-28 10:25:38 +02:00
committed by Maikel Linke
parent 8d639c14cb
commit 1a66f3d94f

View File

@@ -131,7 +131,7 @@ describe "As a consumer, I want to see adjustment breakdown" do
# UI checks
expect(page).to have_content("Confirmed")
expect(page).to have_selector('#order_total', text: with_currency(0.00))
expect(page).to have_selector('#tax-row', text: with_currency(1.15))
expect(page).to have_selector('#tax-row', text: with_currency(0.00))
# Voucher
within "#line-items" do