fix(PivotExcelExport): select correct chart for export (#34793)

This commit is contained in:
Mehmet Salih Yavuz
2025-08-21 20:36:29 +03:00
committed by GitHub
parent af05396227
commit e908775fb2
3 changed files with 8 additions and 3 deletions

View File

@@ -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,
);
});