From 60a4d364088d26d062276c31fe19e5a184c29061 Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Wed, 18 Mar 2026 13:08:24 +1100 Subject: [PATCH] Remove expensive without really new coverage --- spec/system/consumer/multilingual_spec.rb | 28 ----------------------- 1 file changed, 28 deletions(-) diff --git a/spec/system/consumer/multilingual_spec.rb b/spec/system/consumer/multilingual_spec.rb index cabeb405c7..f1826c9537 100644 --- a/spec/system/consumer/multilingual_spec.rb +++ b/spec/system/consumer/multilingual_spec.rb @@ -34,34 +34,6 @@ RSpec.describe 'Multilingual' do expect(get_i18n_translation('label_shops')).to eq 'Tiendas' expect_menu_and_cookie_in_es end - - context 'with a product in the cart' do - let(:distributor) { create(:distributor_enterprise, with_payment_and_shipping: true) } - let!(:order_cycle) { - create(:simple_order_cycle, distributors: [distributor], variants: [product.variants.first]) - } - let(:product) { create(:simple_product) } - let(:order) { create(:order, order_cycle:, distributor:) } - - before do - pick_order order - add_product_to_cart order, product, quantity: 1 - end - - it "in the cart page" do - visit main_app.cart_path(locale: 'es') - - expect_menu_and_cookie_in_es - expect(page).to have_content 'Precio' - end - - it "visiting checkout as a guest user" do - visit checkout_path(locale: 'es') - - expect_menu_and_cookie_in_es - expect(page).to have_content 'Iniciar sesión' - end - end end context 'with user' do