mirror of
https://github.com/appium/appium.git
synced 2026-02-13 05:19:47 -06:00
android testsuite fixes
This commit is contained in:
@@ -26,7 +26,7 @@ module.exports.spacesTest = function (desired) {
|
||||
});
|
||||
});
|
||||
|
||||
after(function () { return session.tearDown(this.currentTest.state === 'passed'); });
|
||||
after(function (done) { session.tearDown(this.currentTest.state === 'passed').nodeify(done); });
|
||||
|
||||
it('should work with spaces in app path', function (done) {
|
||||
session = initSession(_.defaults({'app': newAppPath}, desired));
|
||||
|
||||
@@ -24,7 +24,7 @@ describe('should not launch app without internet permission', function () {
|
||||
.setUp(name).catch(function (err) {
|
||||
err.data.should.include("INTERNET");
|
||||
throw err;
|
||||
}).should.be.rejectedWith(/The environment you requested was unavailable./)
|
||||
}).should.eventually.be.rejectedWith(/The environment you requested was unavailable./)
|
||||
.nodeify(done);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user