Skip to content

Commit

Permalink
chore(snapshots): update test snapshots and skip heatmap snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
masoudmanson committed Feb 8, 2024
1 parent 972731c commit 9da837d
Showing 1 changed file with 3 additions and 16 deletions.
19 changes: 3 additions & 16 deletions packages/data-viz/src/core/HeatmapChart/index.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -158,26 +158,13 @@ export default {
},
},
component: HeatmapChart,
// (masoudmanson) For the purpose of storybook, the button is removed
// from the dropdown menu component which may cause some accessibility
// violations related to ARIA roles and attributes. However, this
// should not be a concern as the component is always used with a button
// in real applications. To avoid false positive test failures, the following
// accessibility rules have been temporarily disabled in the tests
parameters: {
axe: {
disabledRules: [
"aria-input-field-name",
"aria-required-children",
"aria-required-parent",
"button-name",
"list",
"listitem",
],
},
// This parameter is used to set the story's layout to fullscreen
// and remove the padding around the storybook root element
layout: "fullscreen",
snapshot: {
skip: true,
},
},
title: "Data Viz/HeatmapChart",
} as Meta;
Expand Down

0 comments on commit 9da837d

Please sign in to comment.