Skip to content

Storyshots > Increase failure threshold for chart components

Our chart components tend to make visual tests flaky due to echarts being non-deterministic in some of the drawing it does. To address this, we are thinking that raising the failure threshold for charts might be the simplest solution. This should be doable with the getMatchOptions function: https://storybook.js.org/addons/@storybook/addon-storyshots-puppeteer

/cc @markrian