Interacting with AlertView has an issue on iOS 15.2 Simulators and Xcode-13.2.beta (It worked on real devices)
See original GitHub issueThe problem
auto accept alert on iOS doesn’t work
NOTE: the reason that I’ve tried Xcode-13.2.beta and iOS 15.2 is here: https://github.com/appium/appium/issues/15714
Environment
- Appium version (or git revision) that exhibits the issue: 1.22.0 (I’ve also tried with latest beta 1.23.0-beta.0)
- Last Appium version that did not exhibit the issue (if applicable):
- Desktop OS/version used to run Appium: macOS Big Sur 11.6
- Node.js version (unless using Appium.app|exe): v16.13.0
- Npm or Yarn package manager: 0.37.2
- Mobile platform/version under test: iOS 15.2
- Real device or emulator/simulator: iPhone 8 simulator
- Appium CLI or Appium.app|exe: 1.22.0 and Ruby client is appium_lib 11.2.0
Details
There is a modal dialog shown on a fresh app installation which is prompting to Allow Sending Notifications… I’ve to accept popup in order to unblock test flow. In version of Xcode-12.5.1 and iOS 14.5 it was working.
Link to Appium logs
https://gist.github.com/vitalyk/8884418b9b8c9766d508efa6c2432ed7
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:39 (13 by maintainers)
Top GitHub Comments
actually it still happens on 1.22.2
I am on MacBook Pro M1
Tested with the latest 1.23.0-beta.0 and it works, thanks a lot guys 👍