forked from microsoft/fluentui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add conformance and vr tests to react-progress (microsoft#25105)
* Add conformance and vr tests to react-progress * Add Progress stories to vr tests * remove private tag in package.json * Update tests * change files * update package.json * fix * fix typo * Update SPEC.md with ProgressField info * update rtl styling and vr test * cleanup * Move aria props to root and update tests * Update change/@fluentui-react-progress-0341ff0e-8632-492b-8459-66f2acc50ea6.json Co-authored-by: Makoto Morimoto <[email protected]> * Add test for max prop * remove snapshot Co-authored-by: Makoto Morimoto <[email protected]>
- Loading branch information
Showing
8 changed files
with
92 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
apps/vr-tests-react-components/src/stories/Progress.stories.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import * as React from 'react'; | ||
import { storiesOf } from '@storybook/react'; | ||
import { Progress } from '@fluentui/react-progress'; | ||
|
||
storiesOf('Progress converged', module) | ||
.addStory('Indeterminate', () => <Progress />, { | ||
includeDarkMode: true, | ||
includeHighContrast: true, | ||
includeRtl: true, | ||
}) | ||
.addStory('Indeterminate with thickness large', () => <Progress thickness="large" />) | ||
.addStory('Determinate', () => <Progress value={0.5} />, { | ||
includeDarkMode: true, | ||
includeHighContrast: true, | ||
includeRtl: true, | ||
}) | ||
.addStory('Determinate with thickness large', () => <Progress value={0.5} thickness="large" />); |
7 changes: 7 additions & 0 deletions
7
change/@fluentui-react-progress-0341ff0e-8632-492b-8459-66f2acc50ea6.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"type": "prerelease", | ||
"comment": "chore: Add vr and conformance tests.", | ||
"packageName": "@fluentui/react-progress", | ||
"email": "[email protected]", | ||
"dependentChangeType": "patch" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 0 additions & 14 deletions
14
...ct-components/react-progress/src/components/Progress/__snapshots__/Progress.test.tsx.snap
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters