Repository navigation
test(rune_ui): read the Chinese script choice from its trigger's accessible node - #3164
Merged
Merged
Conversation
SuuSoJeat
pushed a commit
to SuuSoJeat/hex
that referenced
this pull request
Dec 1, 2026
…ssible node (anomalyco#3164) Co-authored-by: opencodejr[bot] <348916617+opencodejr[bot]@users.noreply.github.com> (cherry picked from commit 14aa26b)
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.
chinese_output_controls_mount_only_for_chinese_and_persist_script_and_spacingfailed withno accessible element keyed chinese-script-control(reported by @bigFin on a Linux Nix build of 3.5.2, #3163).The Chinese script row is built with
pick_row→pick_select→quiet_select. That control appears in the accessibility tree as the kit select's trigger, keyed{key}-trigger(chinese-script-control-trigger). The other tests that readquiet_selectcontrols already use that key (meeting-audio-retention-control-trigger,meeting-audio-source-control-triggerintests/panes.rs), and the test file's ownpickhelper taps{key}-control-trigger. This changes botha11y_valuelookups in the test to the trigger key. Test-only; no UI, golden or docs changes.The reporter suggested the same fix, and their Nix build passed with it (3,738 tests passed, none failed); credit to @bigFin. This change was written independently.
Testing:
python3 scripts/code-shape.py --checkpasses.cargo test --locked --bin hex chinese_output_controlswas not run here because no Rust toolchain was available. Please run it, orscripts/check rune_ui, before merging.Fixes #3163