Merge pull request #8431 from filipefurtad0/admin_specs_into_system

Admin enterprise specs into system
This commit is contained in:
Matt-Yorkley
2021-10-29 16:10:31 +01:00
committed by GitHub
5 changed files with 6 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
# frozen_string_literal: true
require 'spec_helper'
require 'system_helper'
describe '
As an administrator

View File

@@ -1,6 +1,6 @@
# frozen_string_literal: true
require 'spec_helper'
require 'system_helper'
describe '
As an Administrator

View File

@@ -1,6 +1,6 @@
# frozen_string_literal: true
require 'spec_helper'
require 'system_helper'
describe '
As an Administrator

View File

@@ -1,6 +1,6 @@
# frozen_string_literal: true
require "spec_helper"
require "system_helper"
describe '
As a Super User

View File

@@ -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"