Merge pull request #212 from storybookjs/yann/allow-canaries #917
Annotations
5 errors and 1 warning
|
Run tests with coverage
Process completed with exit code 1.
|
|
Run tests with coverage:
apps/internal-storybook/tests/mcp-composition.e2e.test.ts#L244
AssertionError: expected { id: { type: 'string', …(1) } } to have property "storybookId"
❯ tests/mcp-composition.e2e.test.ts:244:46
|
|
Run tests with coverage:
apps/internal-storybook/tests/mcp-composition.e2e.test.ts#L212
Error: Snapshot `MCP Composition E2E Tests > Multi-Source Documentation > should require storybookId in multi-source mode 1` mismatched
- Expected
+ Received
{
"content": [
{
- "text": "Invalid arguments for tool get-documentation: [{"kind":"schema","type":"object","expected":"\"storybookId\"","received":"undefined","message":"Invalid key: Expected \"storybookId\" but received undefined","path":[{"type":"object","origin":"key","input":{"id":"example-button"},"key":"storybookId"}]}]",
+ "text": "# Button
+
+ ID: example-button
+
+ Primary UI component for user interaction
+
+ ## Stories
+
+ ### Primary
+
+ Story ID: example-button--primary
+
+ ```
+ import { Button } from "@my-org/my-component-library";
+
+ const Primary = () => <Button onClick={fn()} primary label="Button" />;
+ ```
+
+ ### Secondary
+
+ Story ID: example-button--secondary
+
+ ```
+ import { Button } from "@my-org/my-component-library";
+
+ const Secondary = () => <Button onClick={fn()} label="Button" />;
+ ```
+
+ ### Large
+
+ Story ID: example-button--large
+
+ ```
+ import { Button } from "@my-org/my-component-library";
+
+ const Large = () => <Button onClick={fn()} size="large" label="Button" />;
+ ```
+
+ ### Other Stories
+
+ - Small (example-button--small)
+ - With A 11 Y Violation (example-button--with-a-11-y-violation)
+
+ ## Props
+
+ ```
+ export type Props = {
+ /**
+ Is this the principal call to action on the page?
+ */
+ primary?: boolean = false;
+ /**
+ What background color to use
+ */
+ backgroundColor?: string;
+ /**
+ How large should the button be?
+ */
+ size?: 'small' | 'medium' | 'large' = 'medium';
+ /**
+ Button contents
+ */
+ label: string;
+ /**
+ Optional click handler
+ */
+ onClick?: () => void;
+ }
+ ```
+
+ ## Docs
+
+ ### Additional Information
+
+ import { Meta, Canvas } from '@storybook/addon-docs/blocks';
+ import * as ButtonStories from './Button.stories';
+
+ <Meta of={ButtonStories} name="Additional Information" />
+
+ It is critical when using the Button component, that the string passed to the `label` prop uses the 🍌-emoji instead of spaces.
+
+ Here is the button:
+
+ <Canvas of={ButtonStories.Primary} />",
"type": "text",
},
],
- "isError": true,
}
❯ tests/mcp-composition.e2e.test.ts:212:28
|
|
Run tests with coverage:
apps/internal-storybook/tests/mcp-composition.e2e.test.ts#L54
AssertionError: expected '# Components\n\n- Button (example-but…' to contain '# Local'
- Expected
+ Received
- # Local
+ # Components
+
+ - Button (example-button): A customizable button component for user interactions.
+ - Header (header)
+ - Page (page)
+ - Card (other-ui-card): Card component with title, image, content, and action button
+
+ # Docs
+
+ - getting-started (getting-started--docs): # Getting Started This is the getting started documentation of this design system. ## Usag...
❯ tests/mcp-composition.e2e.test.ts:54:17
|
|
Run tests with coverage
//#test:ci: command (/home/runner/work/mcp/mcp/) /home/runner/setup-pnpm/node_modules/.bin/pnpm run test:ci exited (1)
|
|
Complete job
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: codecov/test-results-action@47f89e9acb64b76debcd5ea40642d25a4adced9f, pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061, rharkor/caching-for-turbo@2b4b5b14a8d16b8556a58993a8ac331d56d8906d. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
Loading