Repository navigation
test: serve each floating-box motion example its own page - #6875
Merged
Merged
Conversation
The property test served one page for all its examples, and the page's server keeps each field's words as a draft. So a comment example left a draft that reopened its comment box, with focus, on every later example's page. That box stands beside the low passage under the panel's row, and since #6815 focus landing there folds the panel to its leaf. The next panel example then pressed a field the fold had hidden and timed out. Each example now serves a fresh page. No runtime behavior changes. The panel's fold is #6815's intended behavior. Closes #6869
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_every_part_of_a_floating_box_moves_one_way_per_inputserved one page for all of its Hypothesis examples. The page's server keeps each field's words as a draft, so after acommentexample ran, every later page reopened that comment box with focus in it. The box stands besideLOW_PASSAGE_PAGE's low passage, under the floating panel's row. Since #6815, focus landing on a place only the panel hides folds the panel to its leaf (giveWayinbrowser/runtime/floating-panel.js), so the nextpanelexample found.lf-fp-fieldfolded away (display: none) and timed out pressing it. Each example now serves its own page, so no example inherits another's drafts. That makes the shared-draft comment unnecessary, so this removes it.The runtime is unchanged. Folding the panel there is what #6815 set out to do, and the test's other case, which serves its own page, still opens the panel's field. Locally the property test failed in Chromium on the
panelexample (gap=0, draft='', edits=[('Shift+Enter',)]) after 258 s. With this change it passes in both[browser]and[firefox_browser]in 95 s together.Reproduction
A probe on one served page ran a
commentexample with a draft, then opened a new page. That page loaded with the comment box's field focused and the panel atdata-lf-rest="mark". Its field measured 0×0 withdisplay: none. Apanelexample on the same server timed out on the click, as in run 45159811021.Closes #6869 — automated triage