Repository navigation
Commit 8b6c3c7
test(composer): wait for the toolbar entrance after closing formatting
Closing formatting remounts the composer toolbar with a 140 ms fade-in.
The project picker remount test checked toBeVisible() right after the
reread started, so a slow runner could sample the trigger before the
first animation frame, at opacity 0. Main 76c1d9f failed this way in CI.
Keep the immediate check that the trigger stays present and disabled
during the reread, then wait for the fade to finish before checking
visibility. Delaying requestAnimationFrame by 300 ms reproduces the old
failure at the same line and passes with this change.
Co-authored-by: Larry <627498bd4bd1f281a16431e3c6cce3b5c25b6692798c78672298aefbf2f8f8b5@buzz.block.builderlab.xyz>
Signed-off-by: Logan Johnson <[email protected]>1 parent 76c1d9f commit 8b6c3c7
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5739 | 5739 | | |
5740 | 5740 | | |
5741 | 5741 | | |
5742 | | - | |
| 5742 | + | |
| 5743 | + | |
| 5744 | + | |
5743 | 5745 | | |
5744 | 5746 | | |
5745 | 5747 | | |
| |||
0 commit comments