fix tests which rely on the desired caps which no longer exist

This commit is contained in:
Jonathan Lipps
2014-03-17 15:49:12 -07:00
parent fa69e7a049
commit d3881987ff
2 changed files with 4 additions and 4 deletions

View File

@@ -12,10 +12,10 @@ describe("apidemo - find elements -", function () {
if (env.FAST_TESTS) {
beforeEach(function (done) {
androidReset(desired['app-package'], desired['app-activity']).nodeify(done);
androidReset('com.example.android.apis', '.ApiDemos').nodeify(done);
});
}
describe('mobile find', function () {
it('should scroll to an element by text or content desc', function (done) {
driver

View File

@@ -12,7 +12,7 @@ describe("apidemo - gestures -", function () {
if (env.FAST_TESTS) {
beforeEach(function (done) {
androidReset(desired['app-package'], desired['app-activity'])
androidReset('com.example.android.apis', '.ApiDemos')
.then(function () { return driver.sleep(3000); })
.nodeify(done);
});
@@ -26,7 +26,7 @@ describe("apidemo - gestures -", function () {
.text().should.become("Action Bar")
.nodeify(done);
});
//todo: not working in nexus 7
//todo: not working in nexus 7
it('should click via x/y pct', function (done) {
// this test depends on having a certain size screen, obviously
// I use a nexus something or other phone style thingo