Repository navigation
test(ui): stabilize Select By Attributes dialog interactions - #3366
Conversation
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Code reviewI reviewed the whole diff: one file, Bugs: none found. The changed assertions still check the same behaviour. The cancel test's Security: none. Performance: none. Quality (nits, no inline comments posted):
AGENTS.md: no breaks found. No timer waits were added, no Earlier concerns: none. Change sizeCompared with the base branch: the whole PR against main (merge base f943424 to PR head 767e9b0).
|
📖 Docs preview
GitHub Pages takes a minute or two to publish a new commit. Newer commits from the fork aren't published until a maintainer adds the |
Summary
The background count can request a repaint while the dialog tests are waiting for the UI to go idle. On Ubuntu, the test in #3340 hit the harness's four-frame limit while opening the Values menu. It settled after six frames.
Process input directly and give the menu a layout frame before inspecting or clicking it. The values-list, completion and keyboard tests can now check their own behavior while the match count runs.
Testing
Ran the seven values-list tests 100 times before and after with the test process and a competing process pinned to the same CPU. Failures fell from 9/700 to 0/700.
does_not_change_while_openfills_the_gap_at_the_cursorfollows_the_field_typedlists_nothing_beside_a_computed_left_sidequotes_values_and_says_where_they_come_fromsays_why_a_wildcard_value_is_not_added_after_likewrites_what_it_listsRelated dialog tests passed. Each values-list test and each changed keyboard, completion and cancellation test failed when the behavior it checks was deliberately broken. Formatting and
cargo xtask test-hygienepassed.The fork CI gate passed, and all seven values-list tests passed on their first attempt on Ubuntu.
UI evidence
No visible UI change.
Related issue
Closes #3340
Summary by CodeRabbit