appium-uiautomator2-driver 2.32.1 → 2.32.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/build/lib/constraints.d.ts +0 -24
- package/build/lib/constraints.d.ts.map +1 -1
- package/build/lib/constraints.js +0 -3
- package/build/lib/constraints.js.map +1 -1
- package/build/lib/driver.d.ts.map +1 -1
- package/build/lib/driver.js +0 -18
- package/build/lib/driver.js.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/lib/constraints.ts +0 -3
- package/lib/driver.ts +0 -23
- package/npm-shrinkwrap.json +421 -377
- package/package.json +4 -4
package/lib/constraints.ts
CHANGED
package/lib/driver.ts
CHANGED
|
@@ -686,14 +686,6 @@ class AndroidUiautomator2Driver
|
|
|
686
686
|
`and waiting for '${appWaitPackage}/${appWaitActivity}'`
|
|
687
687
|
);
|
|
688
688
|
|
|
689
|
-
if (this.caps.androidCoverage) {
|
|
690
|
-
this.log.info(
|
|
691
|
-
`androidCoverage is configured. ` +
|
|
692
|
-
` Starting instrumentation of '${this.caps.androidCoverage}'...`
|
|
693
|
-
);
|
|
694
|
-
await this.adb!.androidCoverage(this.caps.androidCoverage, appWaitPackage!, appWaitActivity!);
|
|
695
|
-
return;
|
|
696
|
-
}
|
|
697
689
|
if (
|
|
698
690
|
this.opts.noReset &&
|
|
699
691
|
!this.opts.forceAppLaunch &&
|
|
@@ -771,21 +763,6 @@ class AndroidUiautomator2Driver
|
|
|
771
763
|
})
|
|
772
764
|
);
|
|
773
765
|
|
|
774
|
-
if (this.caps.androidCoverage) {
|
|
775
|
-
this.log.info('Shutting down the adb process of instrumentation...');
|
|
776
|
-
await this.adb.endAndroidCoverage();
|
|
777
|
-
// Use this broadcast intent to notify it's time to dump coverage to file
|
|
778
|
-
if (this.caps.androidCoverageEndIntent) {
|
|
779
|
-
this.log.info(
|
|
780
|
-
`Sending intent broadcast '${this.caps.androidCoverageEndIntent}' at the end of instrumenting.`
|
|
781
|
-
);
|
|
782
|
-
await this.adb.broadcast(this.caps.androidCoverageEndIntent);
|
|
783
|
-
} else {
|
|
784
|
-
this.log.warn(
|
|
785
|
-
'No androidCoverageEndIntent is configured in caps. Possibly you cannot get coverage file.'
|
|
786
|
-
);
|
|
787
|
-
}
|
|
788
|
-
}
|
|
789
766
|
if (this.opts.appPackage) {
|
|
790
767
|
if (
|
|
791
768
|
!this.isChromeSession &&
|