From 4be38ba8da20854257b3ca81a556ef39168bab7f Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Fri, 25 Aug 2023 13:15:50 +1000 Subject: [PATCH] Remove redundant system spec System specs are expensive. And this spec just looked for the visibility of certain elements while other tests actually use them and therefore verify their function much more thoroughly. --- spec/system/consumer/split_checkout_spec.rb | 6 ------ 1 file changed, 6 deletions(-) diff --git a/spec/system/consumer/split_checkout_spec.rb b/spec/system/consumer/split_checkout_spec.rb index d648476e20..658c641c4e 100644 --- a/spec/system/consumer/split_checkout_spec.rb +++ b/spec/system/consumer/split_checkout_spec.rb @@ -699,12 +699,6 @@ describe "As a consumer, I want to checkout my order" do create(:voucher_flat_rate, code: 'some_code', enterprise: distributor, amount: 15) end - it "shows voucher input" do - visit checkout_step_path(:payment) - expect(page).to have_field "Enter voucher code" - expect(page).to have_content "Apply voucher" - end - describe "adding voucher to the order" do before do visit checkout_step_path(:payment)