mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
fix(matrixify): Rename Tag from 'Matrixify' to 'Matrixified' (#37402)
Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -395,7 +395,7 @@ describe('ExploreChartHeader', () => {
|
||||
});
|
||||
render(<ExploreHeader {...props} />, { useRedux: true });
|
||||
|
||||
const matrixifyTag = await screen.findByText('Matrixify');
|
||||
const matrixifyTag = await screen.findByText('Matrixified');
|
||||
expect(matrixifyTag).toBeInTheDocument();
|
||||
});
|
||||
|
||||
@@ -408,7 +408,7 @@ describe('ExploreChartHeader', () => {
|
||||
render(<ExploreHeader {...props} />, { useRedux: true });
|
||||
|
||||
await waitFor(() => {
|
||||
expect(screen.queryByText('Matrixify')).not.toBeInTheDocument();
|
||||
expect(screen.queryByText('Matrixified')).not.toBeInTheDocument();
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
@@ -274,7 +274,7 @@ export const ExploreChartHeader = ({
|
||||
/>
|
||||
) : null}
|
||||
{formData && isMatrixifyEnabled(formData) && (
|
||||
<Tag name="Matrixify" color="purple" />
|
||||
<Tag name="Matrixified" color="purple" />
|
||||
)}
|
||||
{metadataBar}
|
||||
</div>
|
||||
|
||||
@@ -264,7 +264,7 @@ describe('ChartList', () => {
|
||||
|
||||
// Check that the Matrixify tag is present in this row
|
||||
const matrixifyTag = within(chart0Row as HTMLElement).getByText(
|
||||
'Matrixify',
|
||||
'Matrixified',
|
||||
);
|
||||
expect(matrixifyTag).toBeInTheDocument();
|
||||
|
||||
@@ -274,7 +274,7 @@ describe('ChartList', () => {
|
||||
|
||||
// Check that the Matrixify tag is NOT present in this row
|
||||
expect(
|
||||
within(chart1Row as HTMLElement).queryByText('Matrixify'),
|
||||
within(chart1Row as HTMLElement).queryByText('Matrixified'),
|
||||
).not.toBeInTheDocument();
|
||||
});
|
||||
|
||||
|
||||
@@ -388,7 +388,7 @@ function ChartList(props: ChartListProps) {
|
||||
margin-left: ${theme.marginXS}px;
|
||||
`}
|
||||
>
|
||||
<Tag name="Matrixify" color="purple" />
|
||||
<Tag name="Matrixified" color="purple" />
|
||||
</span>
|
||||
)}
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user