question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Interacting with AlertView has an issue on iOS 15.2 Simulators and Xcode-13.2.beta (It worked on real devices)

See original GitHub issue

The 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:closed
  • Created 2 years ago
  • Comments:39 (13 by maintainers)

github_iconTop GitHub Comments

3reactions
vzenzocommented, Feb 10, 2022

We do not officially provide brew install. Appium 1.22.2 has the fix, btw

actually it still happens on 1.22.2

I am on MacBook Pro M1

2reactions
vitalykcommented, Nov 3, 2021

Tested with the latest 1.23.0-beta.0 and it works, thanks a lot guys 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

SwiftUI Preview Don't work iOS 15 … | Apple Developer Forums
After about 20-30 seconds, I have a working SwiftUI preview again! ... The issue was that the device chosen from the list of...
Read more >
Xcode building for iOS Simulator, but linking in an object file ...
I have pulled the new beta of CocoaPods with Xcode 12 support (currently 1.10.0.beta 2). Pod install is successful. When I do a...
Read more >
Install Certificate for iOS Simulators on Xcode 12.5 - Proxyman
This mini-blog would demonstrate how to install the Proxyman/Charles Proxy certificate to iOS Simulators from Xcode 12.5.
Read more >
Install development tools for simulators and emulators ...
iOS simulators are available only on macOS. The iOS simulator functionality is contained within the Xcode developer tools; however, no coding within the...
Read more >
App Store version of Xcode 13.2 causing problems for ...
Apple released Xcode version 13.2 on Monday alongside iOS 15.2 and other software updates. However, some developers began noticing a bug in ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found