Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion docs/plugins/testplane-storybook.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ With this minimal config, you will be able to run `npx testplane --storybook` to
<td>autoScreenshotStorybookGlobals</td>
<td>`Record<string, Record<string, unknown>>`</td>
<td>{}</td>
<td>Run multiple auto-screenshot tests with different [storybook globals](https://storybook.js.org/docs/7/essentials/toolbars-and-globals#globals)</td>
<td>Run multiple auto-screenshot tests with different [storybook globals](https://storybook.js.org/docs/7/essentials/toolbars-and-globals#globals). Only works with storybook >= 8</td>
</tr>
<tr>
<td>localport</td>
Expand Down Expand Up @@ -133,6 +133,8 @@ With this minimal config, you will be able to run `npx testplane --storybook` to

#### autoScreenshotStorybookGlobals

<Admonition type="warning">Storybook >= 8 is required.</Admonition>

For example, with `autoScreenshotStorybookGlobals` set to:

```json
Expand Down