Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Consider transient overlay windows when respectSystemAlerts is enabled #946

Merged
merged 6 commits into from
Oct 17, 2024

Conversation

mwakizaka
Copy link

@mwakizaka mwakizaka commented Oct 16, 2024

The problem

  • I've found that WDA v6.0.0 or later fails to find elements on a half modal like below.
  • Just fyi, let me share the source trees (XCUIElementTypeWindow type="XCUIElementTypeWindow" name="SBTransientOverlayWindow" no longer appears in app-source-WDA_6.0.0.txt)

The proposed change

What I confirmed

  • Before: Cannot find an element using accessibility id=Sandbox
  • After: Can find an element using accessibility id=Sandbox after update {"respectSystemAlerts":true} setting
  • The appium.log

@mwakizaka mwakizaka force-pushed the fix/respect_half_modals branch from dc629c3 to 00c4fa8 Compare October 16, 2024 10:22
@mwakizaka mwakizaka changed the title feat: Add a setting to respect half modals while detecting active apps fix: Consider transient overlay windows when respectSystemAlerts is enabled Oct 16, 2024
@KazuCocoa
Copy link
Member

KazuCocoa commented Oct 17, 2024

hm, GHA's macOS instances are taking longer time

@mykola-mokhnach mykola-mokhnach merged commit f0bdce7 into appium:master Oct 17, 2024
43 of 44 checks passed
github-actions bot pushed a commit that referenced this pull request Oct 17, 2024
## [8.9.4](v8.9.3...v8.9.4) (2024-10-17)

### Bug Fixes

* Consider transient overlay windows when respectSystemAlerts is enabled ([#946](#946)) ([f0bdce7](f0bdce7))
Copy link

🎉 This PR is included in version 8.9.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

@jlipps
Copy link
Member

jlipps commented Nov 7, 2024

Hi @mwakizaka, congrats, the Appium project wants to compensate you for this contribution! Please reply to this comment mentioning me and sharing your OpenCollective account name, so that we can initiate payment! Or let me know if you decline to receive compensation via OpenCollective. Thank you!

@mwakizaka
Copy link
Author

Hi @jlipps, thank you for your offer! Please use https://opencollective.com/masayuki-wakizaka

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released size:S contribution size: S
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants