diff --git a/.circleci/config.yml b/.circleci/config.yml index 7a0d7d28aa8a..6c97e240ba67 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -57,6 +57,9 @@ jobs: name: "Restore core dist cache" keys: - core-dist-{{ .Revision }} + - run: + name: Workaround for https://github.com/GoogleChrome/puppeteer/issues/290 + command: sh ./scripts/workaround-puppeteer-issue-290.sh - run: name: "Build react kitchen-sink" command: | diff --git a/addons/storyshots/README.md b/addons/storyshots/README.md index 8bd9556c0a7f..1bc43682c148 100644 --- a/addons/storyshots/README.md +++ b/addons/storyshots/README.md @@ -210,6 +210,22 @@ initStoryshots({suite: 'Image storyshots', test: imageSnapshot({storybookUrl: 'h `beforeScreenshot` receives the [Puppeteer page instance](https://github.com/GoogleChrome/puppeteer/blob/master/docs/api.md#class-page) and an object: `{ context: {kind, story}, url}`. _kind_ is the kind of the story and the _story_ its name. _url_ is the URL the browser will use to screenshot. `beforeScreenshot` is part of the promise chain and is called after the browser navigation is completed but before the screenshot is taken. It allows for triggering events on the page elements and delaying the screenshot and can be used avoid regressions due to mounting animations. +### Specifying options to _screenshot()_ + +You might use `getScreenshotOptions` to specify options for screenshot. Will be passed to [Puppeteer .screenshot() fn](https://github.com/GoogleChrome/puppeteer/blob/master/docs/api.md#pagescreenshotoptions) + +```js +import initStoryshots, { imageSnapshot } from '@storybook/addon-storyshots'; +const getScreenshotOptions = ({context, url}) { + return { + fullPage: false // Do not take the full page screenshot. Default is 'true' in Storyshots. + } +} +initStoryshots({suite: 'Image storyshots', test: imageSnapshot({storybookUrl: 'http://localhost:6006', getScreenshotOptions})}); +``` + +`getScreenshotOptions` receives an object `{ context: {kind, story}, url}`. _kind_ is the kind of the story and the _story_ its name. _url_ is the URL the browser will use to screenshot. + ### Integrate image storyshots with regular app You may want to use another Jest project to run your image snapshots as they require more resources: Chrome and Storybook built/served. diff --git a/addons/storyshots/src/index.js b/addons/storyshots/src/index.js index 1a127cde9eb3..3d651486582f 100644 --- a/addons/storyshots/src/index.js +++ b/addons/storyshots/src/index.js @@ -1,6 +1,6 @@ import fs from 'fs'; import glob from 'glob'; -import global, { describe, it, beforeEach, afterEach } from 'global'; +import global, { describe, it } from 'global'; import addons from '@storybook/addons'; import loadFramework from './frameworkLoader'; import createChannel from './storybook-channel-mock'; @@ -27,6 +27,8 @@ export { imageSnapshot, }; +const methods = ['beforeAll', 'beforeEach', 'afterEach', 'afterAll']; + export default function testStorySnapshots(options = {}) { if (typeof describe !== 'function') { throw new Error('testStorySnapshots is intended only to be used inside jest'); @@ -53,6 +55,12 @@ export default function testStorySnapshots(options = {}) { const testMethod = options.test || snapshotWithOptions({ options: snapshotOptions }); + methods.forEach(method => { + if (typeof testMethod[method] === 'function') { + global[method](testMethod[method]); + } + }); + // eslint-disable-next-line for (const group of stories) { const { fileName, kind } = group; @@ -63,20 +71,6 @@ export default function testStorySnapshots(options = {}) { } describe(suite, () => { - beforeEach(() => { - if (typeof testMethod.beforeEach === 'function') { - return testMethod.beforeEach(); - } - return Promise.resolve(); - }); - - afterEach(() => { - if (typeof testMethod.afterEach === 'function') { - return testMethod.afterEach(); - } - return Promise.resolve(); - }); - describe(kind, () => { // eslint-disable-next-line for (const story of group.stories) { diff --git a/addons/storyshots/src/test-body-image-snapshot.js b/addons/storyshots/src/test-body-image-snapshot.js index 5f95c5666ef2..f975222c6f12 100644 --- a/addons/storyshots/src/test-body-image-snapshot.js +++ b/addons/storyshots/src/test-body-image-snapshot.js @@ -4,10 +4,16 @@ import { logger } from '@storybook/node-logger'; expect.extend({ toMatchImageSnapshot }); +// We consider taking the full page is a reasonnable default. +const defaultScreenshotOptions = () => ({ fullPage: true }); + +const noop = () => {}; + export const imageSnapshot = ({ storybookUrl = 'http://localhost:6006', - getMatchOptions = () => {}, - beforeScreenshot = () => {}, + getMatchOptions = noop, + getScreenshotOptions = defaultScreenshotOptions, + beforeScreenshot = noop, }) => { let browser; // holds ref to browser. (ie. Chrome) let page; // Hold ref to the page to screenshot. @@ -45,14 +51,13 @@ export const imageSnapshot = ({ throw e; }) .then(() => beforeScreenshot(page, { context, url })) - .then(() => - page.screenshot().then(image => { - expect(image).toMatchImageSnapshot(getMatchOptions({ context, url })); - }) - ); + .then(() => page.screenshot(getScreenshotOptions({ context, url }))) + .then(image => { + expect(image).toMatchImageSnapshot(getMatchOptions({ context, url })); + }); }; - testFn.beforeEach = () => + testFn.beforeAll = () => puppeteer // add some options "no-sandbox" to make it work properly on some Linux systems as proposed here: https://github.com/Googlechrome/puppeteer/issues/290#issuecomment-322851507 .launch({ args: ['--no-sandbox ', '--disable-setuid-sandbox'] }) @@ -64,7 +69,7 @@ export const imageSnapshot = ({ page = p; }); - testFn.afterEach = () => browser.close(); + testFn.afterAll = () => browser.close(); return testFn; }; diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-a-11-y-default-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-a-11-y-default-1-snap.png deleted file mode 100644 index fbbe84900d1e..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-a-11-y-default-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-a-11-y-disabled-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-a-11-y-disabled-1-snap.png deleted file mode 100644 index 70dd2bc2f3a4..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-a-11-y-disabled-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-a-11-y-invalid-contrast-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-a-11-y-invalid-contrast-1-snap.png deleted file mode 100644 index 2460839263fe..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-a-11-y-invalid-contrast-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-a-11-y-label-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-a-11-y-label-1-snap.png deleted file mode 100644 index 1ee7b54e1bea..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-a-11-y-label-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-actions-all-types-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-actions-all-types-1-snap.png deleted file mode 100644 index a9df16b04af6..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-actions-all-types-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-actions-circular-payload-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-actions-circular-payload-1-snap.png deleted file mode 100644 index 218526a01d12..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-actions-circular-payload-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-actions-decorated-action-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-actions-decorated-action-1-snap.png deleted file mode 100644 index 9c9166296ce6..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-actions-decorated-action-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-actions-function-name-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-actions-function-name-1-snap.png deleted file mode 100644 index 0d4aaa0bc994..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-actions-function-name-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-actions-hello-world-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-actions-hello-world-1-snap.png deleted file mode 100644 index ecc7b4ddc0b8..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-actions-hello-world-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-actions-reserved-keyword-as-name-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-actions-reserved-keyword-as-name-1-snap.png deleted file mode 100644 index 9238344914ee..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-actions-reserved-keyword-as-name-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-backgrounds-story-1-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-backgrounds-story-1-1-snap.png deleted file mode 100644 index 86597bb247da..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-backgrounds-story-1-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-backgrounds-story-2-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-backgrounds-story-2-1-snap.png deleted file mode 100644 index 0cf150013c40..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-backgrounds-story-2-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-events-logger-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-events-logger-1-snap.png deleted file mode 100644 index 1014aa61ab37..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-events-logger-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-info-decorator-use-info-as-story-decorator-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-info-decorator-use-info-as-story-decorator-1-snap.png deleted file mode 100644 index 3355d198fe17..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-info-decorator-use-info-as-story-decorator-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-info-git-hub-issues-1814-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-info-git-hub-issues-1814-1-snap.png deleted file mode 100644 index ddf2a0f85177..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-info-git-hub-issues-1814-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-info-markdown-displays-markdown-in-description-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-info-markdown-displays-markdown-in-description-1-snap.png deleted file mode 100644 index 3355d198fe17..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-info-markdown-displays-markdown-in-description-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-info-options-header-shows-or-hides-info-addon-header-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-info-options-header-shows-or-hides-info-addon-header-1-snap.png deleted file mode 100644 index 3355d198fe17..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-info-options-header-shows-or-hides-info-addon-header-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-info-options-inline-inlines-component-inside-story-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-info-options-inline-inlines-component-inside-story-1-snap.png deleted file mode 100644 index 611ec1614935..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-info-options-inline-inlines-component-inside-story-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-info-options-prop-tables-exclude-exclude-component-from-prop-tables-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-info-options-prop-tables-exclude-exclude-component-from-prop-tables-1-snap.png deleted file mode 100644 index 7c1918ad162c..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-info-options-prop-tables-exclude-exclude-component-from-prop-tables-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-info-options-prop-tables-shows-additional-component-prop-tables-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-info-options-prop-tables-shows-additional-component-prop-tables-1-snap.png deleted file mode 100644 index 3355d198fe17..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-info-options-prop-tables-shows-additional-component-prop-tables-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-info-options-source-shows-or-hides-info-addon-source-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-info-options-source-shows-or-hides-info-addon-source-1-snap.png deleted file mode 100644 index 3355d198fe17..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-info-options-source-shows-or-hides-info-addon-source-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-info-options-styles-extend-info-styles-with-an-object-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-info-options-styles-extend-info-styles-with-an-object-1-snap.png deleted file mode 100644 index 04ceac1031d2..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-info-options-styles-extend-info-styles-with-an-object-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-info-options-styles-full-control-over-styles-using-a-function-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-info-options-styles-full-control-over-styles-using-a-function-1-snap.png deleted file mode 100644 index 3355d198fe17..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-info-options-styles-full-control-over-styles-using-a-function-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-info-options-table-component-use-a-custom-component-for-the-table-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-info-options-table-component-use-a-custom-component-for-the-table-1-snap.png deleted file mode 100644 index 3355d198fe17..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-info-options-table-component-use-a-custom-component-for-the-table-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-info-react-docgen-comments-from-component-declaration-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-info-react-docgen-comments-from-component-declaration-1-snap.png deleted file mode 100644 index 3355d198fe17..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-info-react-docgen-comments-from-component-declaration-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-info-react-docgen-comments-from-flow-declarations-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-info-react-docgen-comments-from-flow-declarations-1-snap.png deleted file mode 100644 index 36fe51848cad..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-info-react-docgen-comments-from-flow-declarations-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-info-react-docgen-comments-from-prop-type-declarations-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-info-react-docgen-comments-from-prop-type-declarations-1-snap.png deleted file mode 100644 index db190e2f66ae..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-info-react-docgen-comments-from-prop-type-declarations-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-jest-with-tests-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-jest-with-tests-1-snap.png deleted file mode 100644 index 4258b441e481..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-jest-with-tests-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-knobs-with-knobs-options-triggers-actions-via-button-with-debounce-delay-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-knobs-with-knobs-options-triggers-actions-via-button-with-debounce-delay-1-snap.png deleted file mode 100644 index 430b9fb5162e..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-knobs-with-knobs-options-triggers-actions-via-button-with-debounce-delay-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-knobs-with-knobs-options-tweaks-static-values-with-debounce-delay-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-knobs-with-knobs-options-tweaks-static-values-with-debounce-delay-1-snap.png deleted file mode 100644 index 660f33b62560..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-knobs-with-knobs-options-tweaks-static-values-with-debounce-delay-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-knobs-with-knobs-triggers-actions-via-button-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-knobs-with-knobs-triggers-actions-via-button-1-snap.png deleted file mode 100644 index 430b9fb5162e..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-knobs-with-knobs-triggers-actions-via-button-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-knobs-with-knobs-tweaks-static-values-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-knobs-with-knobs-tweaks-static-values-1-snap.png deleted file mode 100644 index 04a2658a7615..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-knobs-with-knobs-tweaks-static-values-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-links-button-first-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-links-button-first-1-snap.png deleted file mode 100644 index fb40b5db16bf..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-links-button-first-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-links-button-second-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-links-button-second-1-snap.png deleted file mode 100644 index 6d087d53b2f2..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-links-button-second-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-links-href-log-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-links-href-log-1-snap.png deleted file mode 100644 index 70565dbf1297..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-links-href-log-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-links-link-first-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-links-link-first-1-snap.png deleted file mode 100644 index a922d737e4c7..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-links-link-first-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-links-link-second-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-links-link-second-1-snap.png deleted file mode 100644 index 8d6ebf31f0fb..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-links-link-second-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-links-select-first-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-links-select-first-1-snap.png deleted file mode 100644 index ef0b87508731..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-links-select-first-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-links-select-index-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-links-select-index-1-snap.png deleted file mode 100644 index 7c41d128e943..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-links-select-index-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-links-select-second-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-links-select-second-1-snap.png deleted file mode 100644 index ef0b87508731..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-links-select-second-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-links-select-third-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-links-select-third-1-snap.png deleted file mode 100644 index ef0b87508731..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-links-select-third-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-notes-using-deprecated-api-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-notes-using-deprecated-api-1-snap.png deleted file mode 100644 index 81f71fcab196..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-notes-using-deprecated-api-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-notes-with-notes-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-notes-with-notes-1-snap.png deleted file mode 100644 index f80197300e31..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-notes-with-notes-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-notes-with-notes-rendering-imported-markdown-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-notes-with-notes-rendering-imported-markdown-1-snap.png deleted file mode 100644 index f80197300e31..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addon-notes-with-notes-rendering-imported-markdown-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-a-11-y-default-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-a-11-y-default-1-snap.png deleted file mode 100644 index c09270915869..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-a-11-y-default-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-a-11-y-delayed-render-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-a-11-y-delayed-render-1-snap.png deleted file mode 100644 index 113fea49283c..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-a-11-y-delayed-render-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-a-11-y-disabled-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-a-11-y-disabled-1-snap.png deleted file mode 100644 index d0c8b648c6bf..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-a-11-y-disabled-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-a-11-y-invalid-contrast-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-a-11-y-invalid-contrast-1-snap.png deleted file mode 100644 index dd119821d0dc..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-a-11-y-invalid-contrast-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-a-11-y-label-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-a-11-y-label-1-snap.png deleted file mode 100644 index b13b8e36d6f7..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-a-11-y-label-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-actions-all-types-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-actions-all-types-1-snap.png deleted file mode 100644 index cf53b5ba3568..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-actions-all-types-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-actions-circular-payload-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-actions-circular-payload-1-snap.png deleted file mode 100644 index 0788bd2d26d6..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-actions-circular-payload-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-actions-decorated-action-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-actions-decorated-action-1-snap.png deleted file mode 100644 index 7fd7bd5eb99c..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-actions-decorated-action-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-actions-function-name-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-actions-function-name-1-snap.png deleted file mode 100644 index 381412356b44..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-actions-function-name-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-actions-hello-world-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-actions-hello-world-1-snap.png deleted file mode 100644 index a029405075ae..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-actions-hello-world-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-actions-reserved-keyword-as-name-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-actions-reserved-keyword-as-name-1-snap.png deleted file mode 100644 index 816fede4a923..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-actions-reserved-keyword-as-name-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-backgrounds-story-1-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-backgrounds-story-1-1-snap.png deleted file mode 100644 index bb85d3e04839..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-backgrounds-story-1-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-backgrounds-story-2-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-backgrounds-story-2-1-snap.png deleted file mode 100644 index 281c42737ae0..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-backgrounds-story-2-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-events-logger-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-events-logger-1-snap.png deleted file mode 100644 index 59fc2e0af6e5..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-events-logger-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-info-decorator-use-info-as-story-decorator-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-info-decorator-use-info-as-story-decorator-1-snap.png deleted file mode 100644 index 159c2f1198da..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-info-decorator-use-info-as-story-decorator-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-info-git-hub-issues-1814-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-info-git-hub-issues-1814-1-snap.png deleted file mode 100644 index e9fa19c70e42..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-info-git-hub-issues-1814-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-info-markdown-displays-markdown-in-description-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-info-markdown-displays-markdown-in-description-1-snap.png deleted file mode 100644 index 159c2f1198da..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-info-markdown-displays-markdown-in-description-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-info-options-header-shows-or-hides-info-addon-header-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-info-options-header-shows-or-hides-info-addon-header-1-snap.png deleted file mode 100644 index 159c2f1198da..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-info-options-header-shows-or-hides-info-addon-header-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-info-options-inline-inlines-component-inside-story-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-info-options-inline-inlines-component-inside-story-1-snap.png deleted file mode 100644 index 4ef25a6089c0..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-info-options-inline-inlines-component-inside-story-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-info-options-prop-tables-exclude-exclude-component-from-prop-tables-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-info-options-prop-tables-exclude-exclude-component-from-prop-tables-1-snap.png deleted file mode 100644 index ca92299ae67e..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-info-options-prop-tables-exclude-exclude-component-from-prop-tables-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-info-options-prop-tables-shows-additional-component-prop-tables-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-info-options-prop-tables-shows-additional-component-prop-tables-1-snap.png deleted file mode 100644 index 159c2f1198da..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-info-options-prop-tables-shows-additional-component-prop-tables-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-info-options-source-shows-or-hides-info-addon-source-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-info-options-source-shows-or-hides-info-addon-source-1-snap.png deleted file mode 100644 index 159c2f1198da..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-info-options-source-shows-or-hides-info-addon-source-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-info-options-styles-extend-info-styles-with-an-object-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-info-options-styles-extend-info-styles-with-an-object-1-snap.png deleted file mode 100644 index f569a4f78aab..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-info-options-styles-extend-info-styles-with-an-object-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-info-options-styles-full-control-over-styles-using-a-function-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-info-options-styles-full-control-over-styles-using-a-function-1-snap.png deleted file mode 100644 index 159c2f1198da..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-info-options-styles-full-control-over-styles-using-a-function-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-info-options-table-component-use-a-custom-component-for-the-table-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-info-options-table-component-use-a-custom-component-for-the-table-1-snap.png deleted file mode 100644 index 159c2f1198da..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-info-options-table-component-use-a-custom-component-for-the-table-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-info-react-docgen-comments-from-component-declaration-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-info-react-docgen-comments-from-component-declaration-1-snap.png deleted file mode 100644 index 159c2f1198da..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-info-react-docgen-comments-from-component-declaration-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-info-react-docgen-comments-from-flow-declarations-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-info-react-docgen-comments-from-flow-declarations-1-snap.png deleted file mode 100644 index b9786facf99d..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-info-react-docgen-comments-from-flow-declarations-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-info-react-docgen-comments-from-prop-type-declarations-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-info-react-docgen-comments-from-prop-type-declarations-1-snap.png deleted file mode 100644 index 5f4bfb87a3f8..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-info-react-docgen-comments-from-prop-type-declarations-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-jest-with-tests-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-jest-with-tests-1-snap.png deleted file mode 100644 index 9c7911927ee5..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-jest-with-tests-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-knobs-with-knobs-options-triggers-actions-via-button-with-debounce-delay-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-knobs-with-knobs-options-triggers-actions-via-button-with-debounce-delay-1-snap.png deleted file mode 100644 index 6a2275ede1d0..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-knobs-with-knobs-options-triggers-actions-via-button-with-debounce-delay-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-knobs-with-knobs-options-tweaks-static-values-with-debounce-delay-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-knobs-with-knobs-options-tweaks-static-values-with-debounce-delay-1-snap.png deleted file mode 100644 index 4efa9acbe78d..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-knobs-with-knobs-options-tweaks-static-values-with-debounce-delay-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-knobs-with-knobs-triggers-actions-via-button-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-knobs-with-knobs-triggers-actions-via-button-1-snap.png deleted file mode 100644 index 6a2275ede1d0..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-knobs-with-knobs-triggers-actions-via-button-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-knobs-with-knobs-tweaks-static-values-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-knobs-with-knobs-tweaks-static-values-1-snap.png deleted file mode 100644 index 8b12bd26aaac..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-knobs-with-knobs-tweaks-static-values-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-links-button-first-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-links-button-first-1-snap.png deleted file mode 100644 index ff733cc46576..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-links-button-first-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-links-button-second-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-links-button-second-1-snap.png deleted file mode 100644 index 5ac41e52149d..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-links-button-second-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-links-href-log-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-links-href-log-1-snap.png deleted file mode 100644 index b573ee11c632..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-links-href-log-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-links-link-first-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-links-link-first-1-snap.png deleted file mode 100644 index fafe2c4d3311..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-links-link-first-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-links-link-second-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-links-link-second-1-snap.png deleted file mode 100644 index bc8aaf0c2508..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-links-link-second-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-links-select-first-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-links-select-first-1-snap.png deleted file mode 100644 index 11c73895718b..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-links-select-first-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-links-select-index-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-links-select-index-1-snap.png deleted file mode 100644 index 3bc7236fc353..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-links-select-index-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-links-select-second-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-links-select-second-1-snap.png deleted file mode 100644 index 11c73895718b..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-links-select-second-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-links-select-third-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-links-select-third-1-snap.png deleted file mode 100644 index 11c73895718b..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-links-select-third-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-notes-using-deprecated-api-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-notes-using-deprecated-api-1-snap.png deleted file mode 100644 index c0ac1100d5bc..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-notes-using-deprecated-api-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-notes-with-notes-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-notes-with-notes-1-snap.png deleted file mode 100644 index d2bd2cf34404..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-notes-with-notes-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-notes-with-notes-rendering-imported-markdown-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-notes-with-notes-rendering-imported-markdown-1-snap.png deleted file mode 100644 index d2bd2cf34404..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-notes-with-notes-rendering-imported-markdown-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-storyshots-table-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-storyshots-table-1-snap.png new file mode 100644 index 000000000000..c100b9e08196 Binary files /dev/null and b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-storyshots-table-1-snap.png differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-ui-stories-header-simple-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-storyshots-text-1-snap.png similarity index 61% rename from examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-ui-stories-header-simple-1-snap.png rename to examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-storyshots-text-1-snap.png index 687f6471da28..af0e0d59dc90 100644 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-ui-stories-header-simple-1-snap.png and b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-addons-storyshots-text-1-snap.png differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-components-menu-link-active-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-components-menu-link-active-1-snap.png deleted file mode 100644 index 6d7daa5b12e8..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-components-menu-link-active-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-components-menu-link-default-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-components-menu-link-default-1-snap.png deleted file mode 100644 index 1bf514db90ac..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-components-menu-link-default-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-components-menu-link-with-knobs-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-components-menu-link-with-knobs-1-snap.png deleted file mode 100644 index 0f1839e46dca..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-components-menu-link-with-knobs-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-components-routed-link-w-href-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-components-routed-link-w-href-1-snap.png deleted file mode 100644 index 1073dd466f9d..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-components-routed-link-w-href-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-components-routed-link-w-on-click-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-components-routed-link-w-on-click-1-snap.png deleted file mode 100644 index 59f351f2de34..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-components-routed-link-w-on-click-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-ui-addon-panel-default-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-ui-addon-panel-default-1-snap.png deleted file mode 100644 index 0c853d1a739f..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-ui-addon-panel-default-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-ui-addon-panel-no-panels-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-ui-addon-panel-no-panels-1-snap.png deleted file mode 100644 index e192208fbff8..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-ui-addon-panel-no-panels-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-ui-layout-addon-panel-in-right-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-ui-layout-addon-panel-in-right-1-snap.png deleted file mode 100644 index fe08a2acc012..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-ui-layout-addon-panel-in-right-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-ui-layout-default-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-ui-layout-default-1-snap.png deleted file mode 100644 index 98162d028020..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-ui-layout-default-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-ui-layout-full-screen-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-ui-layout-full-screen-1-snap.png deleted file mode 100644 index f4e95060892d..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-ui-layout-full-screen-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-ui-layout-no-addon-panel-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-ui-layout-no-addon-panel-1-snap.png deleted file mode 100644 index aed2590447bf..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-ui-layout-no-addon-panel-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-ui-layout-no-stories-panel-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-ui-layout-no-stories-panel-1-snap.png deleted file mode 100644 index 65b1173b8f8c..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-ui-layout-no-stories-panel-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-ui-menu-item-default-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-ui-menu-item-default-1-snap.png deleted file mode 100644 index 4af5b57351e9..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-ui-menu-item-default-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-ui-stories-stories-empty-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-ui-stories-stories-empty-1-snap.png deleted file mode 100644 index 113fea49283c..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-ui-stories-stories-empty-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-ui-stories-stories-panel-default-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-ui-stories-stories-panel-default-1-snap.png deleted file mode 100644 index 71c07f6497b8..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-ui-stories-stories-panel-default-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-ui-stories-stories-panel-stories-hierarchies-exists-but-is-empty-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-ui-stories-stories-panel-stories-hierarchies-exists-but-is-empty-1-snap.png deleted file mode 100644 index 5f8e36621a41..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-ui-stories-stories-panel-stories-hierarchies-exists-but-is-empty-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-ui-stories-stories-panel-stories-hierarchy-exists-but-is-empty-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-ui-stories-stories-panel-stories-hierarchy-exists-but-is-empty-1-snap.png deleted file mode 100644 index 71c07f6497b8..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-ui-stories-stories-panel-stories-hierarchy-exists-but-is-empty-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-ui-stories-stories-panel-with-stories-hierarchies-prop-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-ui-stories-stories-panel-with-stories-hierarchies-prop-1-snap.png deleted file mode 100644 index 666652032e2c..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-ui-stories-stories-panel-with-stories-hierarchies-prop-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-ui-stories-stories-panel-with-stories-hierarchy-prop-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-ui-stories-stories-panel-with-stories-hierarchy-prop-1-snap.png deleted file mode 100644 index 46b67cd39380..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-ui-stories-stories-panel-with-stories-hierarchy-prop-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-ui-stories-stories-simple-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-ui-stories-stories-simple-1-snap.png deleted file mode 100644 index e331492ac0c0..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-ui-stories-stories-simple-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-ui-stories-stories-with-hierarchy-hierarchy-separator-is-defined-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-ui-stories-stories-with-hierarchy-hierarchy-separator-is-defined-1-snap.png deleted file mode 100644 index 27c04088a147..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-ui-stories-stories-with-hierarchy-hierarchy-separator-is-defined-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-ui-stories-stories-with-highlighting-when-stories-filter-is-provided-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-ui-stories-stories-with-highlighting-when-stories-filter-is-provided-1-snap.png deleted file mode 100644 index 321ad79ff229..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-ui-stories-stories-with-highlighting-when-stories-filter-is-provided-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-ui-stories-stories-without-hierarchy-hierarchy-separator-is-defined-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-ui-stories-stories-without-hierarchy-hierarchy-separator-is-defined-1-snap.png deleted file mode 100644 index ef78d0428211..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-ui-stories-stories-without-hierarchy-hierarchy-separator-is-defined-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-ui-stories-text-filter-with-filter-text-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-ui-stories-text-filter-with-filter-text-1-snap.png deleted file mode 100644 index 1a22876113e7..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-ui-stories-text-filter-with-filter-text-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-ui-stories-text-filter-without-filter-text-1-snap.png b/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-ui-stories-text-filter-without-filter-text-1-snap.png deleted file mode 100644 index affbf41598ec..000000000000 Binary files a/examples/official-storybook/image-snapshots/__image_snapshots__/storyshots-image-runner-js-image-snapshots-ui-stories-text-filter-without-filter-text-1-snap.png and /dev/null differ diff --git a/examples/official-storybook/image-snapshots/storyshots-image.runner.js b/examples/official-storybook/image-snapshots/storyshots-image.runner.js index 6c2eae5a849b..775058ba109f 100644 --- a/examples/official-storybook/image-snapshots/storyshots-image.runner.js +++ b/examples/official-storybook/image-snapshots/storyshots-image.runner.js @@ -19,13 +19,13 @@ if (!fs.existsSync(pathToStorybookStatic)) { } else { initStoryshots({ suite: 'Image snapshots', + storyKindRegex: /^Addons\|Storyshots/, framework: 'react', configPath: path.join(__dirname, '..'), - storyNameRegex: /^((?!tweaks static values with debounce delay|Inlines component inside story).)$/, test: imageSnapshot({ storybookUrl: `file://${pathToStorybookStatic}`, getMatchOptions: () => ({ - failureThreshold: 0.04, // 4% threshold, + failureThreshold: 0.02, // 2% threshold, failureThresholdType: 'percent', }), }), diff --git a/examples/official-storybook/package.json b/examples/official-storybook/package.json index 597de64068f3..fc1887fd84ca 100644 --- a/examples/official-storybook/package.json +++ b/examples/official-storybook/package.json @@ -6,7 +6,8 @@ "build-storybook": "build-storybook -c ./ -s built-storybooks", "chromatic": "chromatic test --storybook-addon --exit-zero-on-changes --app-code ab7m45tp9p", "generate-addon-jest-testresults": "jest --config=tests/addon-jest.config.json --json --outputFile=stories/addon-jest.testresults.json", - "image-snapshots": "yarn run build-storybook && jest --projects=./image-snapshots", + "image-snapshots": "yarn run build-storybook && yarn run do-image-snapshots", + "do-image-snapshots": "../../node_modules/.bin/jest --projects=./image-snapshots", "storybook": "start-storybook -p 9011 -c ./ -s built-storybooks" }, "devDependencies": { diff --git a/examples/official-storybook/stories/__snapshots__/addon-storyshots.stories.storyshot b/examples/official-storybook/stories/__snapshots__/addon-storyshots.stories.storyshot new file mode 100644 index 000000000000..4bdbb582b701 --- /dev/null +++ b/examples/official-storybook/stories/__snapshots__/addon-storyshots.stories.storyshot @@ -0,0 +1,44 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`Storyshots Addons|Storyshots table 1`] = ` + + + + + + + + + + + + + + + + + +
+ name + + type + + default + + description +
+ MyName + + MyType + + MyDefault + + MyDesc +
+`; + +exports[`Storyshots Addons|Storyshots text 1`] = ` +
+ This is a test +
+`; diff --git a/examples/official-storybook/stories/addon-storyshots.stories.js b/examples/official-storybook/stories/addon-storyshots.stories.js new file mode 100644 index 000000000000..1d045b5190ce --- /dev/null +++ b/examples/official-storybook/stories/addon-storyshots.stories.js @@ -0,0 +1,25 @@ +import React from 'react'; +import { storiesOf } from '@storybook/react'; + +storiesOf('Addons|Storyshots', module) + .add('text', () =>
This is a test
) + .add('table', () => ( + + + + + + + + + + + + + + + + + +
nametypedefaultdescription
MyNameMyTypeMyDefaultMyDesc
+ )); diff --git a/scripts/workaround-puppeteer-issue-290.sh b/scripts/workaround-puppeteer-issue-290.sh new file mode 100755 index 000000000000..d4557776336c --- /dev/null +++ b/scripts/workaround-puppeteer-issue-290.sh @@ -0,0 +1,9 @@ +#!/bin/sh +# Workaround for https://github.com/GoogleChrome/puppeteer/issues/290 + +sudo apt-get update +sudo apt-get install -yq gconf-service libasound2 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 \ + libexpat1 libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 \ + libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 \ + libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 \ + ca-certificates fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils wget