Skip to content

Commit

Permalink
fix up selendroid tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jlipps committed May 3, 2014
1 parent 513e541 commit 99dd13c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions lib/devices/android/selendroid.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ Selendroid.prototype.init = function () {
this.avoidProxy = [
['GET', new RegExp('^/wd/hub/session/[^/]+/log/types$')]
, ['POST', new RegExp('^/wd/hub/session/[^/]+/log')]
, ['POST', new RegExp('^/wd/hub/session/[^/]+/appium')]
, ['GET', new RegExp('^/wd/hub/session/[^/]+/appium')]
];
};

Expand Down
3 changes: 1 addition & 2 deletions test/functional/selendroid/basic-specs.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,8 @@ describe('selendroid - basic -', function () {
});

it('should be able to set location', function (done) {
var locOpts = {latitude: "27.17", longitude: "78.04"};
driver
.execute("mobile: setLocation", [locOpts])
.setGeoLocation("27.17", "78.04")
.nodeify(done);
});

Expand Down

0 comments on commit 99dd13c

Please sign in to comment.