diff --git a/spec/features/consumer/shopping/variant_overrides_spec.rb b/spec/system/consumer/shopping/variant_overrides_spec.rb similarity index 99% rename from spec/features/consumer/shopping/variant_overrides_spec.rb rename to spec/system/consumer/shopping/variant_overrides_spec.rb index f44e84bfdb..366e7d89ae 100644 --- a/spec/features/consumer/shopping/variant_overrides_spec.rb +++ b/spec/system/consumer/shopping/variant_overrides_spec.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -require 'spec_helper' +require 'system_helper' describe "shopping with variant overrides defined", js: true do include AuthenticationHelper @@ -91,6 +91,7 @@ describe "shopping with variant overrides defined", js: true do it "calculates fees correctly" do page.find("#variant-#{product1_variant1.id} .graph-button").click + byebug expect(page).to have_selector 'li', text: "#{with_currency(55.55)}\nItem cost" expect(page).to have_selector 'li', text: "#{with_currency(5.56)}\nPacking fee" expect(page).to have_selector 'li', text: "= #{with_currency(61.11)}"