Skip to content

Commit

Permalink
chore: update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiehenson committed Oct 8, 2024
1 parent 723a528 commit 3226d9d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6,044 deletions.
8 changes: 6 additions & 2 deletions .storybook/test-runner.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
import type { TestRunnerConfig } from "@storybook/test-runner";

const flakyStories = ["components-status", "components-meganav"];
const flakyStories = [
"components-status",
"components-meganav",
"components-accordion",
"features-pricing-cards",
];

const config: TestRunnerConfig = {
async postVisit(page, context) {
// skip snapshot testing for flaky stories (atm, just Status)
const url = page.url();

if (flakyStories.some((story) => url.includes(story))) {
Expand Down
Loading

0 comments on commit 3226d9d

Please sign in to comment.