mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-05 22:26:07 +00:00
Uses trigger.click to click elements outside visible area
This commit is contained in:
@@ -88,7 +88,7 @@ describe '
|
||||
end
|
||||
expect(page).to have_checked_field "enterprise_require_login_false"
|
||||
expect(page).to have_checked_field "enterprise_allow_guest_orders_true"
|
||||
choose "Visible to registered customers only"
|
||||
find(:xpath, '//*[@id="enterprise_require_login_true"]').trigger("click")
|
||||
expect(page).to have_no_checked_field "enterprise_require_login_false"
|
||||
# expect(page).to have_checked_field "enterprise_enable_subscriptions_false"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user