Skip to content

Commit f95112b

Browse files
docs(testplane/storybook): mention min storybook version for autoScreenshotStorybookGlobals
Port gemini-testing/testplane-storybook@6dc0476
1 parent 8819707 commit f95112b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/plugins/testplane-storybook.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ With this minimal config, you will be able to run `npx testplane --storybook` to
9595
<td>autoScreenshotStorybookGlobals</td>
9696
<td>`Record<string, Record<string, unknown>>`</td>
9797
<td>{}</td>
98-
<td>Run multiple auto-screenshot tests with different [storybook globals](https://storybook.js.org/docs/7/essentials/toolbars-and-globals#globals)</td>
98+
<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>
9999
</tr>
100100
<tr>
101101
<td>localport</td>
@@ -133,6 +133,8 @@ With this minimal config, you will be able to run `npx testplane --storybook` to
133133

134134
#### autoScreenshotStorybookGlobals
135135

136+
<Admonition type="warning">Storybook >= 8 is required.</Admonition>
137+
136138
For example, with `autoScreenshotStorybookGlobals` set to:
137139

138140
```json

0 commit comments

Comments
 (0)