Sha256: e3cbce009ea78900eb479cc7616d4bd3a1507e85999a428fd9dafd7cdb25925b

Contents?: true

Size: 389 Bytes

Versions: 2

Compression:

Stored size: 389 Bytes

Contents

# frozen_string_literal: true

::RSpec.configure do |config|
  config.around(:each, js: true, debug: true) do |example|
    config.rspeckled_logger.debug("Around Each  - Start - #{__FILE__}")

    ::Selenium::WebDriver.logger.level = :debug

    example.run

    ::Selenium::WebDriver.logger.level = :warn

    config.rspeckled_logger.debug("Around Each  - End   - #{__FILE__}")
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rspeckled-2.1.1 lib/rspeckled/plugins/hooks/selenium_webdriver.rb
rspeckled-2.1.0 lib/rspeckled/plugins/hooks/selenium_webdriver.rb