scoutui 2.0.4.1.pre → 2.0.4.2.pre

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b2d2f09a2924340e7d3f0d577346c925aeb526e5
4
- data.tar.gz: 43d31a4618f0093a68415fafc1d49ea2a1d361f4
3
+ metadata.gz: 2f11c86e2a301c190203b1f2059134b57b057f6a
4
+ data.tar.gz: 56e92a8233f0a054ecc6503b78035bdb92e8fb07
5
5
  SHA512:
6
- metadata.gz: ac9c09c0791bdec5aff1c1c9f663ed4388b28bf6c7924f8fca9a99f1942695c3f209f308de909c64f4ef9bf3e9cf7d44117ef8122a319b0f594dedd37d1ace1b
7
- data.tar.gz: a80e2fc72d615ad6610e5f02f70bddec2795481d56e3478da3e56fb0f89fdaf4a0d495e21465bbcbd171c762edc7a1a4d4b50afed71dd67c93702b648ce249ef
6
+ metadata.gz: b413d04da361934ff6afdb0184a6e676ddcbc575ddc93c067fa099711f1c4ac5797a06dee19af3d414cdcd4af76cf078a3208f460264ff3ce5c9bd229e3237af
7
+ data.tar.gz: 830c865c88755907e6d063a9f5051ac38260f896f66b6bf7e38f20bcadeb184ff0ca2701b9332ab520f02607445a21ee535421bad1c18bdbeb141107ff76b61f
@@ -239,7 +239,7 @@ module Scoutui::Commands
239
239
  # https://wiki.saucelabs.com/display/DOCS/Setting+Up+Reporting+between+Sauce+Labs+and+Jenkins
240
240
  puts "SauceOnDemandSessionID=#{@drv.session_id} job-name=#{caps[:name]}"
241
241
 
242
- elsif !caps.nil?
242
+ elsif !caps.nil? && caps.has_key?(:browser) && caps[:browser].match(/(phantom|phantomjs|ghost|ghostdriver)/i)
243
243
 
244
244
  _YosemiteChromeBeta='Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36'
245
245
  _cap=Selenium::WebDriver::Remote::Capabilities.phantomjs('phantomjs.page.settings.userAgent' => _YosemiteChromeBeta)
@@ -265,6 +265,8 @@ module Scoutui::Commands
265
265
 
266
266
  elsif browserType.match(/(phantom|phantomjs|ghost|ghostdriver)/i)
267
267
 
268
+ puts __FILE__ + (__LINE__).to_s + " => Headless testing"
269
+
268
270
  selenium_server=Scoutui::Utils::TestUtils.instance.getSeleniumServer()
269
271
  selenium_server='http://localhost:8001' if selenium_server.nil?
270
272
 
@@ -1,3 +1,3 @@
1
1
  module Scoutui
2
- VERSION = "2.0.4.1.pre"
2
+ VERSION = "2.0.4.2.pre"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scoutui
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.4.1.pre
4
+ version: 2.0.4.2.pre
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Kim