diff --git a/lib/driver.js b/lib/driver.js index 50553ed4e..bc314db10 100644 --- a/lib/driver.js +++ b/lib/driver.js @@ -327,7 +327,7 @@ class EspressoDriver extends BaseDriver { appActivity: this.opts.appActivity, forceEspressoRebuild: !!this.opts.forceEspressoRebuild, serverLaunchTimeout: this.opts.espressoServerLaunchTimeout, - installTimeout: this.opts.androidInstallTimeout, + androidInstallTimeout: this.opts.androidInstallTimeout, }); this.proxyReqRes = this.espresso.proxyReqRes.bind(this.espresso); } diff --git a/test/functional/commands/keyboard-e2e-specs.js b/test/functional/commands/keyboard-e2e-specs.js index 9604fb99b..04fd14c69 100644 --- a/test/functional/commands/keyboard-e2e-specs.js +++ b/test/functional/commands/keyboard-e2e-specs.js @@ -38,7 +38,8 @@ describe('keyboard', function () { let driver; before(async function () { let caps = Object.assign({ - appActivity: 'io.appium.android.apis.view.AutoComplete4' + appActivity: 'io.appium.android.apis.view.AutoComplete4', + autoGrantPermissions: true, }, APIDEMO_CAPS); driver = await initSession(caps); }); diff --git a/test/functional/driver-e2e-specs.js b/test/functional/driver-e2e-specs.js index 982de553f..e6acfefd8 100644 --- a/test/functional/driver-e2e-specs.js +++ b/test/functional/driver-e2e-specs.js @@ -110,7 +110,8 @@ describe('EspressoDriver', function () { before(async function () { await driver.init({ ...APIDEMO_CAPS, - appActivity: 'io.appium.android.apis.view.AutoComplete1' + appActivity: 'io.appium.android.apis.view.AutoComplete1', + autoGrantPermissions: true, }); }); after(async function () {