mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-26 01:33:22 +00:00
Remove reordering testing
This functionality has been removed
This commit is contained in:
@@ -237,39 +237,6 @@ RSpec.describe 'Tag Rules' do
|
||||
from: "enterprise_tag_rules_attributes_4001_preferred_matched_" \
|
||||
"shipping_methods_visibility"
|
||||
end
|
||||
# # Moving the Shipping Methods to top priority
|
||||
# find(".customer_tag#tg_4 .header", ).drag_to find(".customer_tag#tg_1 .header")
|
||||
#
|
||||
# click_button 'Update'
|
||||
#
|
||||
# # DEFAULT FilterShippingMethods rule
|
||||
# expect(default_fsm_tag_rule.reload.preferred_customer_tags).to eq ""
|
||||
# expect(default_fsm_tag_rule.preferred_shipping_method_tags).to eq "volunteers-only"
|
||||
# expect(default_fsm_tag_rule.preferred_matched_shipping_methods_visibility).to eq "hidden"
|
||||
#
|
||||
# # FilterShippingMethods rule
|
||||
# expect(fsm_tag_rule.reload.priority).to eq 1
|
||||
# expect(fsm_tag_rule.preferred_customer_tags).to eq "volunteer"
|
||||
# expect(fsm_tag_rule.preferred_shipping_method_tags).to eq "volunteers-only4"
|
||||
# expect(fsm_tag_rule.preferred_matched_shipping_methods_visibility).to eq "visible"
|
||||
#
|
||||
# # FilterProducts rule
|
||||
# expect(fp_tag_rule.reload.priority).to eq 2
|
||||
# expect(fp_tag_rule.preferred_customer_tags).to eq "volunteer"
|
||||
# expect(fp_tag_rule.preferred_variant_tags).to eq "volunteers-only1"
|
||||
# expect(fp_tag_rule.preferred_matched_variants_visibility).to eq "hidden"
|
||||
#
|
||||
# # FilterPaymentMethods rule
|
||||
# expect(fpm_tag_rule.reload.priority).to eq 3
|
||||
# expect(fpm_tag_rule.preferred_customer_tags).to eq "volunteer"
|
||||
# expect(fpm_tag_rule.preferred_payment_method_tags).to eq "volunteers-only2"
|
||||
# expect(fpm_tag_rule.preferred_matched_payment_methods_visibility).to eq "visible"
|
||||
#
|
||||
# # FilterOrderCycles rule
|
||||
# expect(foc_tag_rule.reload.priority).to eq 4
|
||||
# expect(foc_tag_rule.preferred_customer_tags).to eq "volunteer"
|
||||
# expect(foc_tag_rule.preferred_exchange_tags).to eq "volunteers-only3"
|
||||
# expect(foc_tag_rule.preferred_matched_order_cycles_visibility).to eq "hidden"
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user