ci: Fix CI issues in WWW
This commit is contained in:
6 files changed
+53
-49
No files matched your search
@@ -3,7 +3,6 @@ import type { StorybookConfig } from '@storybook/react-vite';
|
||||
|
||||
const config: StorybookConfig = {
|
||||
stories: [
|
||||
'../../../packages/ui/src/**/*.stories.@(js|jsx|ts|tsx|mdx)',
|
||||
'../src/**/*.stories.@(js|jsx|ts|tsx|mdx)'
|
||||
],
|
||||
addons: [
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
/** @type {import('@storybook/test-runner').TestRunnerConfig} */
|
||||
module.exports = {
|
||||
async postVisit(page, context) {
|
||||
// Dynamically import ESM module
|
||||
const { getStoryContext } = await import('@storybook/test-runner');
|
||||
|
||||
// Get story context for debugging
|
||||
await getStoryContext(page, context);
|
||||
|
||||
// Basic smoke test - story rendered without errors
|
||||
const element = page.locator('#storybook-root');
|
||||
await element.waitFor();
|
||||
},
|
||||
};
|
||||
Reference in new issue
Block a user