diff --git a/packages/react-charting/src/components/VerticalStackedBarChart/VerticalStackedBarChart.test.tsx b/packages/react-charting/src/components/VerticalStackedBarChart/VerticalStackedBarChart.test.tsx
index 5793e1137061b4..ddc044dfd73b08 100644
--- a/packages/react-charting/src/components/VerticalStackedBarChart/VerticalStackedBarChart.test.tsx
+++ b/packages/react-charting/src/components/VerticalStackedBarChart/VerticalStackedBarChart.test.tsx
@@ -9,6 +9,7 @@ import {
IVerticalStackedBarChartProps,
VerticalStackedBarChart,
IVerticalStackedChartProps,
+ ChartHoverCardVariant,
} from '../../index';
import { IVerticalStackedBarChartState, VerticalStackedBarChartBase } from './VerticalStackedBarChart.base';
import toJson from 'enzyme-to-json';
@@ -320,6 +321,25 @@ describe('VerticalStackedBarChart - mouse events', () => {
const tree = toJson(wrapper, { mode: 'deep' });
expect(tree).toMatchSnapshot();
});
+
+ it('Should render long legend variant of callout correctly on mouseover', async () => {
+ wrapper = mount(
+ ,
+ );
+
+ // Wait for the chart to be resized
+ await new Promise(resolve => setTimeout(resolve));
+ wrapper.update();
+
+ wrapper.find('rect').at(0).simulate('mouseover');
+ const tree = toJson(wrapper, { mode: 'deep' });
+ expect(tree).toMatchSnapshot();
+ });
});
describe('Render empty chart aria label div when chart is empty', () => {
diff --git a/packages/react-charting/src/components/VerticalStackedBarChart/__snapshots__/VerticalStackedBarChart.test.tsx.snap b/packages/react-charting/src/components/VerticalStackedBarChart/__snapshots__/VerticalStackedBarChart.test.tsx.snap
index dd20bbd7b60d4a..1c243ba43dfac9 100644
--- a/packages/react-charting/src/components/VerticalStackedBarChart/__snapshots__/VerticalStackedBarChart.test.tsx.snap
+++ b/packages/react-charting/src/components/VerticalStackedBarChart/__snapshots__/VerticalStackedBarChart.test.tsx.snap
@@ -1914,6 +1914,928 @@ exports[`VerticalStackedBarChart - mouse events Should render customized callout
`;
+exports[`VerticalStackedBarChart - mouse events Should render long legend variant of callout correctly on mouseover 1`] = `
+
+
+
+
+
+
+
+`;
+
exports[`VerticalStackedBarChart snapShot testing Should not render bar labels 1`] = `