| commit | a490bf69bf070a4dc49ec49bfdffbd00b0b71112 | [log] [tgz] |
|---|---|---|
| author | Joe Li <joe@preset.io> | Wed Nov 05 14:56:48 2025 -0800 |
| committer | Joe Li <joe@preset.io> | Wed Nov 05 17:14:36 2025 -0800 |
| tree | b786c29c9f75aa36260a734a5bf26378afba2f01 | |
| parent | 53687ae659b66a276eafdfc34ddf033631741e3e [diff] |
test(dashboard): fix and document FiltersConfigModal async select limitations
Fixes Test 1 ("validates the default value") and documents limitations for Test 2.
Test 1 Changes:
- Fixed "validates the default value" test to work with modern async patterns
- Added comprehensive documentation explaining createNewOnOpen modal limitation
- Test validates the core requirement: enabling default value without setting
a value shows validation error
Test 2 Changes:
- Enhanced skip documentation for "doesn't render time range pre-filter" test
- Documented investigation findings and multiple implementation attempts
- Explained why Settings tab navigation is unreliable in test context
- Noted that conditional rendering logic (showTimeRangePicker) works in production
Investigation:
Attempted to add async select flows per code review feedback but discovered
fundamental limitations with the modal's createNewOnOpen configuration. When
createNewOnOpen: true, the modal starts in an error state where form fields
don't render until validation is resolved, creating a chicken-and-egg problem
for testing async select interactions. Documented findings comprehensively
for future developers who may attempt similar improvements.
Technical Details:
- Modal with createNewOnOpen: true prevents form field rendering in error state
- Cannot test async select flow without rendered fields
- Settings tab navigation inconsistent in test environment
- Conditional rendering logic validated in production, not suitable for unit tests
- Suggestion: Integration/E2E tests better suited for full workflow validation
Test Results:
- 17 tests passing
- 1 test skipped with enhanced documentation
- Tests stable across multiple runs (~270-290s execution time)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
A modern, enterprise-ready business intelligence web application.
Why Superset? | Supported Databases | Installation and Configuration | Release Notes | Get Involved | Contributor Guide | Resources | Organizations Using Superset
Superset is a modern data exploration and data visualization platform. Superset can replace or augment proprietary business intelligence tools for many teams. Superset integrates well with a variety of data sources.
Superset provides:
Video Overview
Large Gallery of Visualizations
Craft Beautiful, Dynamic Dashboards
No-Code Chart Builder
Powerful SQL Editor
Superset can query data from any SQL-speaking datastore or data engine (Presto, Trino, Athena, and more) that has a Python DB-API driver and a SQLAlchemy dialect.
Here are some of the major database solutions that are supported:
A more comprehensive list of supported databases along with the configuration instructions can be found here.
Want to add support for your datastore or data engine? Read more here about the technical requirements.
Try out Superset's quickstart guide or learn about the options for production deployments.
Interested in contributing? Check out our CONTRIBUTING.md to find resources around contributing along with a detailed guide on how to set up a development environment.
Understanding the Superset Points of View
Getting Started with Superset
Deploying Superset
Recordings of Past Superset Community Events
Visualizations