mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-09 23:06:06 +00:00
Merge pull request #8431 from filipefurtad0/admin_specs_into_system
Admin enterprise specs into system
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
require 'spec_helper'
|
||||
require 'system_helper'
|
||||
|
||||
describe '
|
||||
As an administrator
|
||||
@@ -1,6 +1,6 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
require 'spec_helper'
|
||||
require 'system_helper'
|
||||
|
||||
describe '
|
||||
As an Administrator
|
||||
@@ -1,6 +1,6 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
require 'spec_helper'
|
||||
require 'system_helper'
|
||||
|
||||
describe '
|
||||
As an Administrator
|
||||
@@ -1,6 +1,6 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "spec_helper"
|
||||
require "system_helper"
|
||||
|
||||
describe '
|
||||
As a Super User
|
||||
@@ -1,6 +1,6 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "spec_helper"
|
||||
require "system_helper"
|
||||
|
||||
describe '
|
||||
As an administrator
|
||||
@@ -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