mirror of
https://github.com/appium/appium.git
synced 2026-02-12 04:50:08 -06:00
make sure selendroid tests use selendroid (Fix #1874)
This commit is contained in:
@@ -9,7 +9,8 @@ var setup = require("../common/setup-base")
|
||||
var desired = {
|
||||
app: path.resolve(__dirname, "../../../sample-code/apps/ApiDemos/bin/ApiDemos-debug.apk"),
|
||||
'app-package': 'com.example.android.apis',
|
||||
'app-activity': '.ApiDemos'
|
||||
'app-activity': '.ApiDemos',
|
||||
device: 'selendroid'
|
||||
};
|
||||
|
||||
// , appAct2 = "ApiDemos"
|
||||
@@ -103,7 +104,7 @@ describe('selendroid - basic -', function () {
|
||||
var driver;
|
||||
setup(this, _.defaults({newCommandTimeout: 3}, desired))
|
||||
.then(function (d) { driver = d; });
|
||||
|
||||
|
||||
it('should die with short timeout', function (done) {
|
||||
driver
|
||||
.sleep(5000)
|
||||
|
||||
@@ -8,7 +8,8 @@ var env = require('../../helpers/env')
|
||||
var desired = {
|
||||
app: path.resolve(__dirname, "../../../sample-code/apps/WebViewDemo/target/selendroid-test-app-0.8.0.apk"),
|
||||
'app-package': 'io.selendroid.testapp',
|
||||
'app-activity': '.HomeScreenActivity'
|
||||
'app-activity': '.HomeScreenActivity',
|
||||
device: 'selendroid'
|
||||
};
|
||||
|
||||
// if it doesn't work run: adb uninstall io.selendroid.testapp
|
||||
|
||||
Reference in New Issue
Block a user