Commit b294b49
fix(test): Fix flaky MetricsTabContent sidebar toggle test
Wait for the SearchQueryBuilderCombobox inside the re-expanded sidebar
to finish initialising. Without this, its async state updates fire after
the test ends and trigger an act() warning that jest-fail-on-console
catches, causing flaky failures (4 occurrences in the last 30 days).
Co-Authored-By: Claude Sonnet 4 <noreply@example.com>
Made-with: Cursor1 parent d30d0f2 commit b294b49
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
730 | 730 | | |
731 | 731 | | |
732 | 732 | | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
733 | 739 | | |
734 | | - | |
| 740 | + | |
735 | 741 | | |
736 | 742 | | |
737 | 743 | | |
| |||
0 commit comments