Skip to content

Commit

Permalink
[Storybook] Test Card individually in Percy (Shopify#1618)
Browse files Browse the repository at this point in the history
  • Loading branch information
kaelig authored Jun 4, 2019
1 parent 5ed7147 commit 9e37448
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .storybook/stories-from-readme.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import Playground from '../playground/Playground';
* overlay each other as it stops the test being useful.
*/
function percyShouldTestIndividualExamples(readmeName) {
return ['Modal'].includes(readmeName);
return ['Modal', 'Card'].includes(readmeName);
}

export function generateStories(readme, readmeModule) {
Expand Down
1 change: 1 addition & 0 deletions UNRELEASED.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ Use [the changelog guidelines](https://git.io/polaris-changelog-guidelines) to f

- Made the a11y test that runs in CI fail if it finds any issues ([#1564](https://github.com/Shopify/polaris-react/pull/1564))
- Updated Storybook to `v5.1.0-rc.4` ([#1616](https://github.com/Shopify/polaris-react/pull/1616))
- Fixed a visual regression testing issue with the Card component ([#1618](https://github.com/Shopify/polaris-react/pull/1618))

### Dependency upgrades

Expand Down

0 comments on commit 9e37448

Please sign in to comment.