installApp command does not upgrade application on ios devices
See original GitHub issueThe problem
i have ci cd pipeline where i generate new ipa and after that i launch automation test on it . when the test begin on the logs it show App ‘com.streamwide.totrInHouseDev’ is already installed. No need to reinstall.
Environment
- Appium version (or git revision) that exhibits the issue: 1.22.0
- Last Appium version that did not exhibit the issue (if applicable):
- Desktop OS/version used to run Appium: BIG SURE 11.4
- Node.js version (unless using Appium.app|exe):v14.5.0
- Npm or Yarn package manager:6.14.5
- Mobile platform/version under test: iphone SE 2020
- Real device or emulator/simulator: real device
- Appium CLI or Appium.app|exe: cli
Details
on my capabilities : i put no reset : true and full reset false since i dont want to uninstall app i want to upgrade it directly to the newer version i do the same test on Android it works , the apk is upgraded automatically but not with ipa and .app
Code To Reproduce Issue [ Good To Have ]
Please remember that with sample code it’s easier to reproduce the bug and it’s much faster to fix it.
Please git clone https://github.com/appium/appium and from the sample-code
directory, use one of your favourite languages and sample apps to reproduce the issue.
In case a similar scenario is missing in sample-code, please submit a PR with one of the sample apps provided.
Issue Analytics
- State:
- Created 2 years ago
- Comments:14 (2 by maintainers)
Top GitHub Comments
oh, i see. I’d second I’d say the fact the app gets installed on Android is a bug.
Btw, as https://github.com/appium/appium/issues/15971#issuecomment-946569910 , it would be great way to upgrade explicitly in the test scenario after creating a session. Nowadays, appium can establish a session without
app
andbundleid
/appPackage
, so I think it is easier to achieve than before.I’d rather avoid using implicit Appium behaviours then and make the upgrade process more explicit. Check https://appiumpro.com/editions/9-testing-android-app-upgrades and https://appiumpro.com/editions/6-testing-ios-app-upgrades for more details