Repository navigation
test: stop expecting c on a file-tree row to open the composer - #6485
Merged
Merged
Conversation
#6469 gave letters typed on a type-ahead widget's row to that widget, so c on a selected file-tree row now types into the tree's search, as Max chose. test_file_tree_reads_standalone_data_without_a_diff_package still pressed c on the row and waited for the composer, which #3556 had added when Leaf took shortcut letters ahead of the tree. That step now times out, and the c it types filters README.md out of the tree for the rest of the test. #6469's own check in test_render_files.py covers the new behavior, so the step goes; the test keeps its subject, the tree's selection and search across a data change. Refs #6418
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.
test_file_tree_reads_standalone_data_without_a_diff_packagefails deterministically onmainsince #6469, which first failed in run 44455882413 (9192a5041). #6469 gives letters typed in a type-ahead widget to that widget, which Max chose on the key-reading review page. Socon a selected file-tree row now types into the tree's search. The test still pressedcon the row and waited for the composer, a step #3556 added when Leaf took shortcut letters ahead of the tree. The wait times out. Thecit types also filtersREADME.mdout of the tree, which would break the steps after it.This PR removes that step. #6469's own check in
test_render_files.py::test_a_file_tree_opens_each_file_the_editor_holdscovers the new behavior: a letter on a row searches the tree. The test keeps its subject, which is the tree reading standalone data and keeping its selection and search across a data change. No product code changes, and nothing of #6469's intent is given up.Verification: the test passes on #6469's parent (
9e0abccb9^) and fails on #6469 and onmain(c5ccb1183) with.lf-composer leaf-textnever focused. With this change it passes, and so doestest_a_file_tree_opens_each_file_the_editor_holds.Refs #6418 — automated triage