mirror of
https://github.com/apache/superset.git
synced 2026-05-12 11:25:56 +00:00
fix(tests): fix test failures in ChartRenderer, ExploreChartHeader, and Chart
- ChartRenderer.test.tsx: Remove viz_type from formData to allow vizType prop to take precedence for suppressContextMenu test, use as unknown for test data type assertions - ExploreChartHeader.test.tsx: Fix placeholder text assertion - use findByDisplayValue instead of findByText since chart has a title - ExploreViewContainer: Pass exploreState prop to ExploreChartPanel to match original behavior of spread props - ExploreChartPanel: Add exploreState to props interface Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -839,6 +839,7 @@ function ExploreViewContainer(props: ExploreViewContainerProps) {
|
||||
errorMessage={dataTabErrorMessage}
|
||||
chartIsStale={chartIsStale}
|
||||
onQuery={onQuery}
|
||||
exploreState={props.exploreState}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user