Sha256: 7444adc7e20804a2e912491caf4052fdb218aa3034264a7e7167d0307b436f37

Contents?: true

Size: 943 Bytes

Versions: 56

Compression:

Stored size: 943 Bytes

Contents

module Volt
  class << self
    def setup_sauce_labs
      require 'sauce'
      require 'sauce/capybara'

      Sauce.config do |c|
        if ENV['OS']
          # Use a specifc OS, BROWSER, VERSION combo (for travis)
          c[:browsers] = [
            [ENV['OS'], ENV['USE_BROWSER'], ENV['VERSION']]
          ]
        else
          # Run all
          c[:browsers] = [
            # ["Windows 7", "Chrome", "30"],
            # ["Windows 8", "Firefox", "28"],
            ['Windows 8.1', 'Internet Explorer', '11'],
            ['Windows 8.0', 'Internet Explorer', '10'],
            ['Windows 7.0', 'Internet Explorer', '9'],
            # ["OSX 10.9", "iPhone", "8.1"],
            # ["OSX 10.8", "Safari", "6"],
            # ["Linux", "Chrome", "26"]
          ]
        end
        c[:start_local_application] = false
      end

      Capybara.default_driver = :sauce
      Capybara.javascript_driver = :sauce
    end
  end
end

Version data entries

56 entries across 56 versions & 1 rubygems

Version Path
volt-0.9.5.pre2 lib/volt/spec/sauce_labs.rb
volt-0.9.5.pre1 lib/volt/spec/sauce_labs.rb
volt-0.9.4 lib/volt/spec/sauce_labs.rb
volt-0.9.4.pre5 lib/volt/spec/sauce_labs.rb
volt-0.9.4.pre3 lib/volt/spec/sauce_labs.rb
volt-0.9.4.pre2 lib/volt/spec/sauce_labs.rb
volt-0.9.4.pre1 lib/volt/spec/sauce_labs.rb
volt-0.9.3 lib/volt/spec/sauce_labs.rb
volt-0.9.3.pre6 lib/volt/spec/sauce_labs.rb
volt-0.9.3.pre5 lib/volt/spec/sauce_labs.rb
volt-0.9.3.pre4 lib/volt/spec/sauce_labs.rb
volt-0.9.3.pre3 lib/volt/spec/sauce_labs.rb
volt-0.9.3.pre2 lib/volt/spec/sauce_labs.rb
volt-0.9.3.pre1 lib/volt/spec/sauce_labs.rb
volt-0.9.2 lib/volt/spec/sauce_labs.rb
volt-0.9.1 lib/volt/spec/sauce_labs.rb
volt-0.9.1.pre5 lib/volt/spec/sauce_labs.rb
volt-0.9.1.pre4 lib/volt/spec/sauce_labs.rb
volt-0.9.1.pre3 lib/volt/spec/sauce_labs.rb
volt-0.9.1.pre2 lib/volt/spec/sauce_labs.rb