Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fix stories and update snapshots
dominik-zeglenebabeffa819f
diff --git a/saleor/static/dashboard-next/storybook/__snapshots__/Stories.test.ts.snap b/saleor/static/dashboard-next/storybook/__snapshots__/Stories.test.ts.snapindex 2e78328333..610c736466 100644--- a/saleor/static/dashboard-next/storybook/__snapshots__/Stories.test.ts.snap+++ b/saleor/static/dashboard-next/storybook/__snapshots__/Stories.test.ts.snap@@ -26698,10 +26698,10 @@ exports[`Storyshots Views / Products / Create product When loading 1`] = `class="Component-hr-id"/><div- class="MuiCardContent-root-id Component-card-id"+ class="MuiCardContent-root-id"><div- class="Component-pullUp-id"+ class="Component-switchContainer-id"><labelclass="MuiFormControlLabel-root-id MuiFormControlLabel-disabled-id"@@ -27326,10 +27326,10 @@ exports[`Storyshots Views / Products / Create product default 1`] = `class="Component-hr-id"/><div- class="MuiCardContent-root-id Component-card-id"+ class="MuiCardContent-root-id"><div- class="Component-pullUp-id"+ class="Component-switchContainer-id"><labelclass="MuiFormControlLabel-root-id"@@ -29803,7 +29803,7 @@ exports[`Storyshots Views / Products / Product edit when data is fully loaded 1`class="MuiCardContent-root-id"><div- class="Component-pullUp-id"+ class="Component-expandedSwitchContainer-id"><labelclass="MuiFormControlLabel-root-id"@@ -30592,10 +30592,10 @@ exports[`Storyshots Views / Products / Product edit when loading data 1`] = `class="Component-hr-id"/><div- class="MuiCardContent-root-id Component-card-id"+ class="MuiCardContent-root-id"><div- class="Component-pullUp-id"+ class="Component-switchContainer-id"><labelclass="MuiFormControlLabel-root-id MuiFormControlLabel-disabled-id"@@ -31538,7 +31538,7 @@ exports[`Storyshots Views / Products / Product edit when product has no images 1class="MuiCardContent-root-id"><div- class="Component-pullUp-id"+ class="Component-expandedSwitchContainer-id"><labelclass="MuiFormControlLabel-root-id"@@ -32761,7 +32761,7 @@ exports[`Storyshots Views / Products / Product edit when product has no variantsclass="MuiCardContent-root-id"><div- class="Component-pullUp-id"+ class="Component-expandedSwitchContainer-id"><labelclass="MuiFormControlLabel-root-id"@@ -32943,8 +32943,8 @@ exports[`Storyshots Views / Products / Product image details when loaded data 1`class="MuiFormControl-root-id MuiFormControl-fullWidth-id"><label- class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id"- data-shrink="true"+ class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id"+ data-shrink="false">Description</label>@@ -32968,18 +32968,14 @@ exports[`Storyshots Views / Products / Product image details when loaded data 1`readonly=""rows="1"tabindex="-1"- >- Lorem ipsum- </textarea>+ /><textareaaria-invalid="false"class="Textarea-textarea-id MuiInput-input-id MuiInput-inputMultiline-id"name="description"rows="1"type="text"- >- Lorem ipsum- </textarea>+ /></div></div><pdiff --git a/saleor/static/dashboard-next/storybook/stories/products/ProductImagePage.tsx b/saleor/static/dashboard-next/storybook/stories/products/ProductImagePage.tsxindex 37c51e1bd7..513163788c 100644--- a/saleor/static/dashboard-next/storybook/stories/products/ProductImagePage.tsx+++ b/saleor/static/dashboard-next/storybook/stories/products/ProductImagePage.tsx@@ -5,7 +5,7 @@ import * as placeholder from "../../../../images/placeholder1080x1080.png";import ProductImagePage from "../../../products/components/ProductImagePage";import Decorator from "../../Decorator";-const image = { id: "", url: placeholder };+const image = { id: "", url: placeholder, alt: "Lorem ipsum" };const images = (Array(8) as any).fill({ id: "img", url: placeholder }).map((image, imageIndex) => ({ ...image, id: image.id + imageIndex }));@@ -14,7 +14,6 @@ storiesOf("Views / Products / Product image details", module).addDecorator(Decorator).add("when loaded data", () => (<ProductImagePage- description={"Lorem ipsum"}disabled={false}image={image}images={images}