mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-27 06:05:19 +00:00
Check "Select all" to start with
Reflect the state of the shipping method checkboxes.
This commit is contained in:
@@ -158,11 +158,15 @@ describe '
|
||||
end
|
||||
|
||||
def select_shipping_methods
|
||||
expect(page).to have_checked_field "Select all"
|
||||
|
||||
expect(page).to have_checked_field "Pickup - always available"
|
||||
expect(page).to have_checked_field "Delivery - sometimes available"
|
||||
|
||||
uncheck "Delivery - sometimes available"
|
||||
|
||||
expect(page).to have_unchecked_field "Select all"
|
||||
|
||||
click_button 'Save and Back to List'
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user