diff --git a/apps/vr-tests-react-components/src/stories/Button.stories.tsx b/apps/vr-tests-react-components/src/stories/Button.stories.tsx index cbba4b0fd12c9..23c3f2e7077f1 100644 --- a/apps/vr-tests-react-components/src/stories/Button.stories.tsx +++ b/apps/vr-tests-react-components/src/stories/Button.stories.tsx @@ -2,8 +2,11 @@ import { storiesOf } from '@storybook/react'; import * as React from 'react'; import Screener from 'screener-storybook/src/screener'; import { Button, CompoundButton, ToggleButton, MenuButton } from '@fluentui/react-button'; +import { bundleIcon, CalendarMonthFilled, CalendarMonthRegular } from '@fluentui/react-icons'; import { makeStyles } from '@griffel/react'; +const CalendarMonth = bundleIcon(CalendarMonthFilled, CalendarMonthRegular); + const steps = new Screener.Steps() .snapshot('default', { cropTo: '.testWrapper' }) .hover('#button-id') @@ -125,19 +128,19 @@ storiesOf('Button Converged', module) { includeHighContrast: true, includeDarkMode: true }, ) .addStory('Size small', () => ( - )) .addStory('Size large', () => ( - )) .addStory('Size small - with long text wrapping', () => { const styles = useStyles(); return ( - ); @@ -145,7 +148,7 @@ storiesOf('Button Converged', module) .addStory('Size medium - with long text wrapping', () => { const styles = useStyles(); return ( - ); @@ -153,7 +156,7 @@ storiesOf('Button Converged', module) .addStory('Size large - with long text wrapping', () => { const styles = useStyles(); return ( - ); @@ -161,7 +164,7 @@ storiesOf('Button Converged', module) .addStory( 'With icon before content', () => ( - ), @@ -172,14 +175,14 @@ storiesOf('Button Converged', module) .addStory( 'With icon after content', () => ( - ), { includeRtl: true }, ) - .addStory('Icon only', () =>