ci: Fix CI issues in WWW

This commit is contained in:
deytenit committed 2026-01-31 01:23:53 +03:00
1 parent 13d5f11c4d
commit b0c51bdcc2
6 files changed
+53 -49

No files matched your search

-1
View File
@@ -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: [
-14
View File
@@ -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();
},
};