mirror of
https://github.com/apache/superset.git
synced 2026-04-20 08:34:37 +00:00
fix(PivotExcelExport): select correct chart for export (#34793)
This commit is contained in:
committed by
GitHub
parent
af05396227
commit
e908775fb2
@@ -264,7 +264,7 @@ test('Should export to pivoted Excel if report is pivot table', async () => {
|
||||
userEvent.click(await screen.findByText('Export to Pivoted Excel'));
|
||||
expect(props.exportPivotExcel).toHaveBeenCalledTimes(1);
|
||||
expect(props.exportPivotExcel).toHaveBeenCalledWith(
|
||||
'.pvtTable',
|
||||
'#chart-id-371 .pvtTable',
|
||||
props.slice.slice_name,
|
||||
);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user