Skip to content

Commit

Permalink
Keep rubocop happy with the new Selenium runner
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewd committed Oct 28, 2017
1 parent bf6456e commit f50aeba
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions ci/qunit-selenium-runner.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
require 'qunit/selenium/test_runner'
require 'chromedriver/helper'
# frozen_string_literal: true

require "qunit/selenium/test_runner"
require "chromedriver/helper"

driver_options = Selenium::WebDriver::Chrome::Options.new
driver_options.add_argument('--headless')
driver_options.add_argument('--disable-gpu')
driver_options.add_argument("--headless")
driver_options.add_argument("--disable-gpu")

driver = ::Selenium::WebDriver.for(:chrome, options: driver_options)
result = QUnit::Selenium::TestRunner.new(driver).open(ARGV[0], timeout: 60)
Expand Down

0 comments on commit f50aeba

Please sign in to comment.