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

Method seeAppIsNotInstalled

lib/helper/Appium.js:612–616  ·  view source on GitHub ↗

* Check if an app is not installed. * * ```js * I.seeAppIsNotInstalled("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

610 * Appium: support only Android
611 */
612 async seeAppIsNotInstalled(bundleId) {
613 onlyForApps.call(this, supportedPlatform.android)
614 const res = await this.browser.isAppInstalled(bundleId)
615 return truth(`app ${bundleId}`, 'not to be installed').negate(res)
616 }
617
618 /**
619 * Install an app on device.

Callers 3

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

Calls 2

truthFunction · 0.90
negateMethod · 0.80

Tested by

no test coverage detected