From 1a66f3d94fa1e84a41d73ea1553adef7feb07656 Mon Sep 17 00:00:00 2001 From: Gaetan Craig-Riou Date: Thu, 28 Sep 2023 10:25:38 +0200 Subject: [PATCH] Fix system spec to take into account discounted tax --- spec/system/consumer/checkout/tax_incl_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/system/consumer/checkout/tax_incl_spec.rb b/spec/system/consumer/checkout/tax_incl_spec.rb index c1657070e1..2c74c738aa 100644 --- a/spec/system/consumer/checkout/tax_incl_spec.rb +++ b/spec/system/consumer/checkout/tax_incl_spec.rb @@ -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