MCPcopy
hub / github.com/codeceptjs/CodeceptJS / seeAppIsInstalled

Method seeAppIsInstalled

lib/helper/Appium.js:594–598  ·  view source on GitHub ↗

* Check if an app is installed. * * ```js * I.seeAppIsInstalled("com.example.android.apis"); * ``` * * @param {string} bundleId String ID of bundled app * @return {Promise } * * Appium: support only Android

(bundleId)

Source from the content-addressed store, hash-verified

592 * Appium: support only Android
593 */
594 async seeAppIsInstalled(bundleId) {
595 onlyForApps.call(this, supportedPlatform.android)
596 const res = await this.browser.isAppInstalled(bundleId)
597 return truth(`app ${bundleId}`, 'to be installed').assert(res)
598 }
599
600 /**
601 * Check if an app is not installed.

Callers 3

Appium_test.jsFile · 0.80
AppiumTs.types.tsFile · 0.80
Appium.types.tsFile · 0.80

Calls 2

truthFunction · 0.90
assertMethod · 0.80

Tested by

no test coverage detected