mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Temporarily hide OC selector in checkout page
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
%strong
|
||||
= pickup_time current_order_cycle
|
||||
|
||||
= render partial: "shopping_shared/header"
|
||||
= render partial: "shopping_shared/header", locals: { hide_oc_selector: true }
|
||||
|
||||
%accordion{"close-others" => "false"}
|
||||
%checkout.row{"ng-controller" => "CheckoutCtrl"}
|
||||
|
||||
@@ -10,5 +10,6 @@
|
||||
= distributor.name
|
||||
%location= distributor.address.city
|
||||
|
||||
.show-for-large-up.large-4.columns
|
||||
= render partial: "shopping_shared/order_cycles"
|
||||
- unless defined? hide_oc_selector
|
||||
.show-for-large-up.large-4.columns
|
||||
= render partial: "shopping_shared/order_cycles"
|
||||
|
||||
@@ -53,7 +53,7 @@ feature "Using embedded shopfront functionality", js: true do
|
||||
expect(page).to have_text 'Your shopping cart'
|
||||
find('a#checkout-link').click
|
||||
|
||||
expect(page).to have_text 'Checkout now'
|
||||
expect(page).to have_text 'Ok, ready to checkout?'
|
||||
|
||||
click_button 'Login'
|
||||
login_with_modal
|
||||
|
||||
Reference in New Issue
Block a user