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 +4 -4
- data/lib/scoutui/commands/strategy.rb +3 -1
- data/lib/scoutui/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2f11c86e2a301c190203b1f2059134b57b057f6a
|
4
|
+
data.tar.gz: 56e92a8233f0a054ecc6503b78035bdb92e8fb07
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
|
data/lib/scoutui/version.rb
CHANGED