From a857ac9761acc140c6d04b1645950896f61af8af Mon Sep 17 00:00:00 2001 From: Michael Loughry Date: Wed, 9 Sep 2020 15:59:04 -0700 Subject: [PATCH] Fix snapshot tests (#14962) --- ...020-09-09-22-16-15-fix-snapshot-tests.json | 8 + .../Rating.Basic.Example.tsx.shot | 862 +----------------- .../Rating.ButtonControlled.Example.tsx.shot | 27 +- 3 files changed, 20 insertions(+), 877 deletions(-) create mode 100644 change/@fluentui-react-next-2020-09-09-22-16-15-fix-snapshot-tests.json diff --git a/change/@fluentui-react-next-2020-09-09-22-16-15-fix-snapshot-tests.json b/change/@fluentui-react-next-2020-09-09-22-16-15-fix-snapshot-tests.json new file mode 100644 index 0000000000000..725489a6fa6cc --- /dev/null +++ b/change/@fluentui-react-next-2020-09-09-22-16-15-fix-snapshot-tests.json @@ -0,0 +1,8 @@ +{ + "type": "prerelease", + "comment": "Fix snapshot tests", + "packageName": "@fluentui/react-next", + "email": "miclo@microsoft.com", + "dependentChangeType": "patch", + "date": "2020-09-09T22:16:15.003Z" +} diff --git a/packages/react-next/src/components/__snapshots__/Rating.Basic.Example.tsx.shot b/packages/react-next/src/components/__snapshots__/Rating.Basic.Example.tsx.shot index 74068409ecedc..447637663cc8b 100644 --- a/packages/react-next/src/components/__snapshots__/Rating.Basic.Example.tsx.shot +++ b/packages/react-next/src/components/__snapshots__/Rating.Basic.Example.tsx.shot @@ -2,9 +2,9 @@ exports[`Component Examples renders Rating.Basic.Example.tsx correctly 1`] = `
- Large Stars: + Large stars:
- Small Stars + Small stars, with 0 stars allowed:
- 10 Small Stars + 10 small stars:
Disabled:
Custom icons:
- Themed star -
-
- - - - - -
-
`; diff --git a/packages/react-next/src/components/__snapshots__/Rating.ButtonControlled.Example.tsx.shot b/packages/react-next/src/components/__snapshots__/Rating.ButtonControlled.Example.tsx.shot index 6f3a9d8dbf2ef..dc81434106353 100644 --- a/packages/react-next/src/components/__snapshots__/Rating.ButtonControlled.Example.tsx.shot +++ b/packages/react-next/src/components/__snapshots__/Rating.ButtonControlled.Example.tsx.shot @@ -851,31 +851,8 @@ exports[`Component Examples renders Rating.ButtonControlled.Example.tsx correctl } data-automationid="splitbuttonprimary" > - - - Click to change rating to 0 - - + Click to change rating to + 0