ActionSheet close automatically (iOS 18 Simulator) with autoAcceptAlerts :true as iOS 18 started returning correct XCUIElementTypeSheet
Do I have the most recent component updates?
- I use the most recent available driver/plugin and server versions
Is the component officially supported by the Appium team?
- I have verified the component repository is present under the Appium organization in GitHub
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
When working with the iOS 18 simulator, ActionSheets started closing on their own. It's a bit like if various permission alerts were automatically confirmed. The project has a parameter to automatically react to such alerts, but it didn't affect the ActionSheet on the 17.5 simulator.
appium 2.11.4 .net client Appium 5.2.0
example of ActionSheet:
log in the moment of closing in gist (not so informative)
This can be reproduced with Appium inspector and autoAcceptAlerts :true with ActionSheet closes / without it everything ok
Expected Behavior
autoAcceptAlerts :true has no effect on ActionSheet
Minimal Reproducible Example
Environment
Operating system:
Appium server version (output of
appium --version): 2.11.4Appium driver(s) and their version(s) (
appium driver list): [email protected] [installed (npm)] [email protected] [installed (npm)]Appium plugin(s) and their version(s) (
appium plugin list):Node.js version (output of
node --version): v18.19.1npmversion (output ofnpm --version): 10.2.4Last component(s) version which did not exhibit the problem:
Platform and version under test: ios
Real device or emulator/simulator: simulator
Link to Appium Logs
Further Information
Source: appium/appium