Sha256: 62ef55cf65f270d70dcbc8a83db42bceb7e454ba6ca5c6007db0c220c8182040
Contents?: true
Size: 1.24 KB
Versions: 1
Compression:
Stored size: 1.24 KB
Contents
#require 'rubygems' #require 'spec' #require 'base64' #require 'fileutils' # ##require "selenium/client" ##require "selenium/rspec/spec_helper" ##require File.expand_path(File.dirname(__FILE__) + "/rspec_extensions") #require File.expand_path(File.dirname(__FILE__) + "/reporting/selenium_test_report_formatter") # #require "selenium/rspec/rspec_extensions" #require "selenium/rspec/reporting/selenium_test_report_formatter" # #Spec::Runner.configure do |config| # # config.prepend_after(:each) do # begin # if actual_failure? # Selenium::RSpec::SeleniumTestReportFormatter.capture_system_state(@selenium_driver, self) # @selenium_driver.close_current_browser_session # end # if @selenium_driver.session_started? # @selenium_driver.set_context "Ending example '#{self.description}'" # end # rescue Exception => e # #STDERR.puts "Problem while capturing system state" + e # end # end # # config.append_before(:each) do # begin # if @selenium_driver && @selenium_driver.session_started? # @selenium_driver.set_context "Starting example '#{self.description}'" # end # rescue Exception => e # #STDERR.puts "Problem while setting context on example start" + e # end # end # #end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
selenium-rspec-dsl-1.0.2 | spec/spec_helper.rb |