Skip to content

Commit

Permalink
Fix name of the EspressoRunner argument (#426)
Browse files Browse the repository at this point in the history
  • Loading branch information
mykola-mokhnach authored Mar 30, 2019
1 parent 88f8d73 commit fb46243
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/driver.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
3 changes: 2 additions & 1 deletion test/functional/commands/keyboard-e2e-specs.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
Expand Down
3 changes: 2 additions & 1 deletion test/functional/driver-e2e-specs.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 () {
Expand Down

0 comments on commit fb46243

Please sign in to comment.