Bug 1968205 - wrench needs to uninstall on android. r=bhearsum

Differential Revision: https://phabricator.services.mozilla.com/D251059
This commit is contained in:
Joel Maher
2025-05-23 20:28:23 +00:00
committed by jmaher@mozilla.com
parent 2a9536f5fe
commit c08bac42b3

View File

@@ -236,6 +236,8 @@ class AndroidWrench(TestingMixin, BaseScript, MozbaseMixin, AndroidMixin):
self.verify_device() self.verify_device()
self.info("Logging device properties...") self.info("Logging device properties...")
self.info(self.shell_output("getprop", attempts=3)) self.info(self.shell_output("getprop", attempts=3))
self.info("Uninstalling APK...")
self.device.uninstall_app("org.mozilla.wrench")
self.info("Installing APK...") self.info("Installing APK...")
self.install_android_app(self.query_abs_dirs()["abs_apk_path"], replace=True) self.install_android_app(self.query_abs_dirs()["abs_apk_path"], replace=True)