Comparing version 1.11.0 to 1.11.1
@@ -398,3 +398,3 @@ var __slice = Array.prototype.slice, | ||
} | ||
}; | ||
@@ -497,3 +497,3 @@ InputDevice.prototype.pointerCancel = function (opts) { | ||
W3CActions.prototype.toJSON = function () { | ||
var actions = _.values(this.inputs, function (input) { input.toJSON() }); | ||
var actions = _.values(this.inputs, function (input) { input.toJSON(); }); | ||
return { | ||
@@ -500,0 +500,0 @@ actions: actions |
@@ -113,3 +113,3 @@ var EventEmitter = require('events').EventEmitter, | ||
jsonData = JSON.parse(data); | ||
_this.sessionId = jsonData.value ? jsonData.value.sessionId : false; | ||
_this.sessionID = jsonData.value ? jsonData.value.sessionId : false; | ||
resData = jsonData.value; | ||
@@ -116,0 +116,0 @@ |
@@ -11,3 +11,3 @@ { | ||
], | ||
"version": "1.11.0", | ||
"version": "1.11.1", | ||
"author": "Adam Christian <adam.christian@gmail.com>", | ||
@@ -49,6 +49,6 @@ "contributors": [ | ||
"async": "2.0.1", | ||
"lodash": "4.17.10", | ||
"lodash": "4.17.11", | ||
"mkdirp": "^0.5.1", | ||
"q": "1.4.1", | ||
"request": "2.85.0", | ||
"request": "2.88.0", | ||
"vargs": "0.1.0" | ||
@@ -71,3 +71,3 @@ }, | ||
"jshint-stylish": "2.2.1", | ||
"mocha": "3.1.0", | ||
"mocha": "^5.2.0", | ||
"mu2": "0.5.21", | ||
@@ -77,3 +77,3 @@ "nock": "8.0.0", | ||
"run-sequence": "1.2.2", | ||
"sauce-connect-launcher": "0.16.0", | ||
"sauce-connect-launcher": "^1.2.4", | ||
"spawn-mocha-parallel": "1.3.1", | ||
@@ -80,0 +80,0 @@ "sv-selenium": "0.3.1", |
@@ -602,4 +602,1 @@ # WD.js | ||
[test coverage](http://admc.io/wd/istanbul/coverage/lcov-report/lib/index.html) | ||
[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/admc/wd/trend.png)](https://bitdeli.com/free "Bitdeli Badge") |
@@ -11,2 +11,6 @@ // spliting the test cause it takes too long, list of possible suffixes below | ||
describe('api-el-' + extraDesc + ' ' + env.ENV_DESC, _skip, function() { | ||
beforeEach(function(done) { | ||
setTimeout(function() { console.log('timeout'); done(); }, 1000); | ||
}); | ||
var partials = {}; | ||
@@ -20,6 +24,5 @@ | ||
it('browser.' + elementFuncName, function() { | ||
return Q.all([ | ||
browser[elementFuncName](criterias.valid).should.eventually.exist, | ||
browser[elementFuncName](criterias.invalid).should.be.rejectedWith(/status: 7/) | ||
]); | ||
return browser | ||
[elementFuncName](criterias.valid).should.eventually.exist | ||
[elementFuncName](criterias.invalid).should.be.rejectedWith(/status: 7/) | ||
}); | ||
@@ -26,0 +29,0 @@ |
@@ -6,2 +6,6 @@ require('../helpers/setup'); | ||
describe('element ' + env.ENV_DESC, function() { | ||
beforeEach(function(done) { | ||
setTimeout(function() { console.log('timeout'); done(); }, 500); | ||
}); | ||
var partials = {}; | ||
@@ -107,6 +111,3 @@ | ||
.elementByCss("#theDiv .displayed").then(function(el) { | ||
return Q.all([ | ||
el.isDisplayed().should.eventually.be.ok, | ||
el.displayed().should.eventually.be.ok, | ||
]); | ||
return el.isDisplayed().should.eventually.be.ok; | ||
}) | ||
@@ -126,6 +127,3 @@ .elementByCss("#theDiv .hidden").then(function(el) { | ||
.elementByCss("#theDiv .enabled").then(function(el) { | ||
return Q.all([ | ||
el.isEnabled().should.eventually.be.ok, | ||
el.enabled().should.eventually.be.ok, | ||
]); | ||
return el.isEnabled().should.eventually.be.ok; | ||
}) | ||
@@ -132,0 +130,0 @@ .elementByCss("#theDiv .disabled").then(function(el) { |
@@ -27,2 +27,3 @@ /* global sauceJobTitle, mergeDesired */ | ||
browser = wd.promiseChainRemote(env.REMOTE_CONFIG); | ||
setTimeout(function(){ console.log('timeout'); }, 500); | ||
return browser.configureLogging(); | ||
@@ -42,6 +43,8 @@ }); | ||
browser.defaultCapabilities.javascriptEnabled.should.be.ok; | ||
return browser | ||
.init(buildDesired( this.runnable().parent.title + " #1", | ||
undefined, env.DESIRED.platform )) | ||
.sessionCapabilities().should.eventually.have.property('browserName', 'firefox'); | ||
var init = browser | ||
.init(buildDesired( this.runnable().parent.title + " #1", | ||
undefined, env.DESIRED.platform )); | ||
return init.sessionCapabilities().should.eventually.have.property('browserName', 'firefox'); | ||
}); | ||
@@ -48,0 +51,0 @@ |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1012406
15313
602
+ Addedajv@6.12.6(transitive)
+ Addedfast-deep-equal@3.1.3(transitive)
+ Addedhar-validator@5.1.5(transitive)
+ Addedjson-schema-traverse@0.4.1(transitive)
+ Addedlodash@4.17.11(transitive)
+ Addedoauth-sign@0.9.0(transitive)
+ Addedpsl@1.9.0(transitive)
+ Addedpunycode@2.3.1(transitive)
+ Addedrequest@2.88.0(transitive)
+ Addedtough-cookie@2.4.3(transitive)
+ Addeduri-js@4.4.1(transitive)
- Removedajv@5.5.2(transitive)
- Removedboom@4.3.15.3.3(transitive)
- Removedco@4.6.0(transitive)
- Removedcryptiles@3.2.1(transitive)
- Removedfast-deep-equal@1.1.0(transitive)
- Removedhar-validator@5.0.3(transitive)
- Removedhawk@6.0.2(transitive)
- Removedhoek@4.3.1(transitive)
- Removedjson-schema-traverse@0.3.1(transitive)
- Removedlodash@4.17.10(transitive)
- Removedoauth-sign@0.8.2(transitive)
- Removedrequest@2.85.0(transitive)
- Removedsntp@2.1.0(transitive)
- Removedstringstream@0.0.6(transitive)
- Removedtough-cookie@2.3.4(transitive)
Updatedlodash@4.17.11
Updatedrequest@2.88.0