Commit 9f36ce9
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 d7f2bcd commit 9f36ce9
1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
731 | 731 | | |
732 | 732 | | |
733 | 733 | | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
734 | 743 | | |
735 | 744 | | |
0 commit comments