fix: enable accessibility in local Unity E2E builds#44
Open
fadi-george wants to merge 1 commit into
Open
Conversation
Mirror CI's Unity accessibility setup locally so Appium can discover UI elements while preserving developers' project files. Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
To keep the Unity demo app compatible with Unity 2022.3, its E2E-only accessibility module and compile define are not part of the default project configuration. CI already injects this configuration for E2E builds, but the local runner did not, which caused Appium to lose access to the demo's UI hierarchy.
Description
Mirror the Unity CI accessibility setup in local Appium builds so UI elements such as
main_scroll_viewremain discoverable.Details
ONESIGNAL_E2E_ACCESSIBILITYcompile define before cache hashing and compilation../run-all.sh --sdk=unity --platform=android: 32 passed, 2 skipped.Made with Cursor