Skip to content

Commit

Permalink
fix and skip antd5 tests
Browse files Browse the repository at this point in the history
storybook upgrade also means {selectall} no longer works,
so that has been replaced with userEvent.clear()

Change-Id: Ie215f01cc1f669beb8d482a02abe21a58df20e7b
GitOrigin-RevId: 2e9ec49a3459a60059a04716771c810790fc903a
  • Loading branch information
jaslong authored and actions-user committed Feb 14, 2025
1 parent b52ae89 commit 458d670
Show file tree
Hide file tree
Showing 4 changed files with 90 additions and 80 deletions.
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
module.exports = {
import type { StorybookConfig } from "@storybook/react-webpack5";

const config: StorybookConfig = {
stories: ["../src/**/*.stories.mdx", "../src/**/*.stories.@(js|jsx|ts|tsx)"],
addons: [
"@storybook/addon-links",
"@storybook/addon-essentials",
"@storybook/addon-interactions",
"@storybook/addon-webpack5-compiler-swc",
"storybook-addon-mock",
],
framework: {
name: "@storybook/react-webpack5",
options: {},
},
features: {
interactionsDebugger: true,
},
};

export default config;
File renamed without changes.
9 changes: 9 additions & 0 deletions plasmicpkgs/antd5/.storybook/test-runner.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import type { TestRunnerConfig } from "@storybook/test-runner";

const config: TestRunnerConfig = {
tags: {
skip: ["skip-test"],
},
};

export default config;
Loading

0 comments on commit 458d670

Please sign in to comment.