Sha256: ac901d2598c1bec9142273c58360e26f286162522f823a187e56b99f1b73abb0
Contents?: true
Size: 1.19 KB
Versions: 3
Compression:
Stored size: 1.19 KB
Contents
$LOAD_PATH.unshift(File.dirname(__FILE__)) $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) 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 require 'watir' require 'webdrivers' require 'locator_spec_helper' require 'rspec' if ENV['TRAVIS'] 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' ENV['DISPLAY'] = ':99.0' if ENV['TRAVIS'] raise 'DISPLAY not set' if Selenium::WebDriver::Platform.linux? && ENV['DISPLAY'].nil?
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
watir-6.16.0 | spec/spec_helper.rb |
watir-6.15.1 | spec/spec_helper.rb |
watir-6.15.0 | spec/spec_helper.rb |