Skip to content

Commit

Permalink
chore(percy): skip percy testing of the fade component (carbon-design…
Browse files Browse the repository at this point in the history
…-system#4955)

### Related Ticket(s)

No related issue

### Description

The fade component storybook snapshots are causing false positives in our automated visual regression tests. As this is not a necessary test for visual regression, this PR adds the flag to skip these tests in Percy.

### Changelog

**Changed**

- fade component percy configuration
  • Loading branch information
jeffchew authored and IgnacioBecerra committed Feb 22, 2021
1 parent c2dbcd4 commit c87228b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ export default {
parameters: {
...readme.parameters,
'carbon-theme': { disabled: true },
percy: {
skip: true,
},
},
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,9 @@ export default {
parameters: {
...readme.parameters,
useRawContainer: true,
percy: {
skip: true,
},
props: (() => {
// Lets `<dds-masthead-container>` load the nav links and lets `<dds-footer-container>` load the footer links
const useMock = inPercy() || new URLSearchParams(window.location.search).has('mock');
Expand Down

0 comments on commit c87228b

Please sign in to comment.