Skip to content

Commit

Permalink
chore: use bundle id outside opts for this.device.devicectl.launchApp (
Browse files Browse the repository at this point in the history
  • Loading branch information
KazuCocoa authored Mar 26, 2024
1 parent 411669b commit e2aeda2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/webdriveragent.js
Original file line number Diff line number Diff line change
Expand Up @@ -309,9 +309,9 @@ class WebDriverAgent {
async _launchViaDevicectl(opts = {}) {
const {env} = opts;

await this.device.devicectl.launchApp({
bundleId: this.bundleIdForXctest, env, terminateExisting: true,
});
await this.device.devicectl.launchApp(
this.bundleIdForXctest, { env, terminateExisting: true }
);

// Launching app via decictl does not wait for the app start.
// We should wait for the app start by ourselves.
Expand Down

0 comments on commit e2aeda2

Please sign in to comment.