Sha256: 701b9075ab49751a76d215c9408d0d2cf48d6ac48ed2dccf8e0658e4b4eb9f51
Contents?: true
Size: 505 Bytes
Versions: 63
Compression:
Stored size: 505 Bytes
Contents
# frozen_string_literal: true module Spree module TestingSupport module BlacklistUrls def setup_url_blacklist(browser) if browser.respond_to?(:url_blacklist) browser.url_blacklist = ['https://fonts.googleapis.com'] end end end end end RSpec.configure do |config| config.before(:each, type: :feature) do setup_url_blacklist(page.driver.browser) end config.before(:each, type: :system) do setup_url_blacklist(page.driver.browser) end end
Version data entries
63 entries across 63 versions & 1 rubygems