Conversation
…oving Opening a file beside the thread hides the list and springs the sidebar shut, so the file pane slides and widens for about 330 ms after it shows. The spec measured the passage on the first frame; on a slow runner the drag then landed on blank space, no selection toolbar opened, and the click waited out the 4-minute test timeout. Measure once the passage has stayed put for ten frames, and wait for the toolbar with the expect timeout.
1 task
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.
tests/e2e/inbox-tags.spec.ts:282(tag in a file comment) hung for 4 minutes and failed in about half of recent CI runs.Cause: a race in the test, not a product bug. Opening a file beside the thread hides the list and springs the sidebar shut, so the file pane slides and widens for about 330 ms after
.ib-docscrollshows. The spec measured the passage on that first frame. On a slow runner the drag then landed on blank space, nothing was selected, no selection toolbar opened, and the click on Comment waited out the whole test timeout.Fix: measure the passage once it has stayed put for ten animation frames, and wait for the toolbar with the normal expect timeout so a miss fails in 15 s instead of 4 minutes.
Checked:
--repeat-each 10) and 70 of 70 on macOS.