Sha256: b768c59de573d66f5432844ddf0fc52a7efc6912915d4951bc93c5cef4a61c55
Contents?: true
Size: 1.24 KB
Versions: 3
Compression:
Stored size: 1.24 KB
Contents
$LOAD_PATH.unshift(File.dirname(__FILE__)) $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) if ENV['GITHUB_ACTIONS'] || ENV['COVERAGE'] require 'coveralls' require 'simplecov' require 'simplecov-console' SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new [Coveralls::SimpleCov::Formatter, SimpleCov::Formatter::HTMLFormatter, SimpleCov::Formatter::Console] SimpleCov.start do add_filter %r{/spec/} add_filter 'lib/watir/elements/html_elements.rb' add_filter 'lib/watir/elements/svg_elements.rb' add_filter 'lib/watir/legacy_wait.rb' add_filter 'lib/watirspec' refuse_coverage_drop end end require 'watir' require 'locator_spec_helper' require 'rspec' if ENV['GITHUB_ACTIONS'] require 'rspec/retry' RSpec.configure do |config| config.verbose_retry = true config.display_try_failure_messages = true config.default_retry_count = 3 config.exceptions_to_retry = [IOError, Net::ReadTimeout] end end SELENIUM_SELECTORS = %i[css tag_name xpath link_text partial_link_text link].freeze Watir.relaxed_locate = false if ENV['RELAXED_LOCATE'] == 'false'
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
watir-6.19.1 | spec/spec_helper.rb |
watir-6.19.0 | spec/spec_helper.rb |
watir-6.18.0 | spec/spec_helper.rb |