fix(loading): improve loading screen theming for dark mode support (#35129)

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Elizabeth Thompson
2025-10-03 16:51:56 -07:00
committed by GitHub
parent 04b1a45416
commit 635b7a6a4d
3 changed files with 26 additions and 10 deletions

View File

@@ -346,9 +346,9 @@ test('validates the pre-filter value', async () => {
jest.runOnlyPendingTimers();
jest.useRealTimers();
await waitFor(() => {
expect(screen.getByText(PRE_FILTER_REQUIRED_REGEX)).toBeInTheDocument();
});
expect(
await screen.findByText(PRE_FILTER_REQUIRED_REGEX),
).toBeInTheDocument();
}, 50000); // Slow-running test, increase timeout to 50 seconds.
// eslint-disable-next-line jest/no-disabled-tests