Commit 032abe7
fix(tests): improve reliability of pre-filter validation test
Replace `waitFor` with `getByText` pattern with `findByText` which automatically
waits for the element to appear. This follows React Testing Library best practices
and eliminates flaky test failures caused by timing issues with fake/real timers.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 1faaa21 commit 032abe7
1 file changed
Lines changed: 3 additions & 3 deletions
File tree
- superset-frontend/src/dashboard/components/nativeFilters/FiltersConfigModal
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
346 | 346 | | |
347 | 347 | | |
348 | 348 | | |
349 | | - | |
350 | | - | |
351 | | - | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
352 | 352 | | |
353 | 353 | | |
354 | 354 | | |
| |||
0 commit comments