fix(ui-automation): Preserve AXe tab roles#441
Merged
Conversation
Bundle AXe 1.7.1 so SwiftUI tab bar accessibility nodes are exposed through the packaged AXe artifact. Also classify AXe radio button nodes with role_description "tab" as runtime tabs so wait-for-ui and tap selectors can target them by role. Fixes GH-439 Co-Authored-By: OpenAI Codex <codex@openai.com>
Inject deterministic post-action snapshot timing into the key sequence executor test. This keeps the exact polling assertion stable under CI scheduler jitter. Co-Authored-By: OpenAI Codex <noreply@openai.com>
commit: |
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.
Bundle AXe 1.7.1 and preserve AXe-reported tab semantics in runtime snapshots.
AXe 1.7.1 includes the rebuilt patched IDB/FBSimulatorControl artifacts needed for SwiftUI
TabViewtab buttons to appear in full accessibility hierarchy snapshots. Once those nodes are visible, they arrive asAXRadioButton/RadioButtonelements withrole_description: "tab"; the runtime snapshot normalizer now treats that explicit role description asrole: "tab"instead of collapsing the element to a generic button.This restores
snapshot_ui,wait_for_ui --role tab, andtapsupport for SwiftUI tab bars through the bundled AXe path.Fixes #439