Skip to content

Commit

Permalink
don't reset sim during location test because it removes necessary files
Browse files Browse the repository at this point in the history
  • Loading branch information
jlipps committed Apr 7, 2014
1 parent fce54be commit cfb8006
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/functional/ios/testapp/location-specs.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ var setup = require("../../common/setup-base")

describe('testapp - location -', function () {
this.timeout(env.MOCHA_INIT_TIMEOUT);

var driver;
setup(this, desired).then(function (d) { driver = d; });

Expand Down Expand Up @@ -58,7 +58,7 @@ describe('testapp - location services -', function () {
locationServicesAuthorized: true,
bundleId: 'io.appium.TestApp'
});
setup(this, newDesired).then(function (d) { driver = d; });
setup(this, newDesired, {'no-reset': true}).then(function (d) { driver = d; });

it('should be able to be turned on', function (done) {
driver
Expand All @@ -75,7 +75,7 @@ describe('testapp - location services -', function () {
locationServicesAuthorized: true
});
it('should not work without bundleId', function (done) {
initSession(newDesired, {'no-retry': true}).setUp()
initSession(newDesired, {'no-retry': true, 'no-reset': true}).setUp()
.then(function (err) {
err.cause.value.message.should.contain("bundleId");
throw err;
Expand All @@ -91,7 +91,7 @@ describe('testapp - location services -', function () {
locationServicesAuthorized: false,
bundleId: 'io.appium.TestApp'
});
setup(this, newDesired).then(function (d) { driver = d; });
setup(this, newDesired, {'no-reset': true}).then(function (d) { driver = d; });

it('should be able to be turned off', function (done) {
driver
Expand Down

0 comments on commit cfb8006

Please sign in to comment.