Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Fix stories snap

Krzysztof Bialoglowicz8d8193d239b4
diff --git a/saleor/static/dashboard-next/storybook/__snapshots__/Stories.test.ts.snap b/saleor/static/dashboard-next/storybook/__snapshots__/Stories.test.ts.snap
index a51ca76dd3..2fa3a02c24 100644
--- a/saleor/static/dashboard-next/storybook/__snapshots__/Stories.test.ts.snap
+++ b/saleor/static/dashboard-next/storybook/__snapshots__/Stories.test.ts.snap
@@ -76709,6 +76709,28 @@ exports[`Storyshots Views / Staff / Staff member details default 1`] = `
class="StaffProperties-avatarImage-id"
src="avatar1.png"
/>
+ <div
+ class="StaffProperties-avatarHover-id"
+ >
+ <span
+ class="isvg pending"
+ />
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Change photo
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Delete photo
+ </p>
+ <input
+ class="StaffProperties-fileField-id"
+ id="fileUpload"
+ type="file"
+ />
+ </div>
</div>
</div>
<div>
@@ -77002,6 +77024,28 @@ exports[`Storyshots Views / Staff / Staff member details himself 1`] = `
class="StaffProperties-avatarImage-id"
src="avatar1.png"
/>
+ <div
+ class="StaffProperties-avatarHover-id"
+ >
+ <span
+ class="isvg pending"
+ />
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Change photo
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Delete photo
+ </p>
+ <input
+ class="StaffProperties-fileField-id"
+ id="fileUpload"
+ type="file"
+ />
+ </div>
</div>
</div>
<div>
@@ -77155,9 +77199,35 @@ exports[`Storyshots Views / Staff / Staff member details loading 1`] = `
<div
class="StaffProperties-avatar-id"
>
- <img
- class="StaffProperties-avatarImage-id"
- />
+ <div
+ class="StaffProperties-avatarDefault-id"
+ >
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ />
+ </div>
+ <div
+ class="StaffProperties-avatarHover-id"
+ >
+ <span
+ class="isvg pending"
+ />
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Change photo
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Delete photo
+ </p>
+ <input
+ class="StaffProperties-fileField-id"
+ id="fileUpload"
+ type="file"
+ />
+ </div>
</div>
</div>
<div>
@@ -77837,6 +77907,28 @@ exports[`Storyshots Views / Staff / Staff member details not admin 1`] = `
class="StaffProperties-avatarImage-id"
src="avatar1.png"
/>
+ <div
+ class="StaffProperties-avatarHover-id"
+ >
+ <span
+ class="isvg pending"
+ />
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Change photo
+ </p>
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ >
+ Delete photo
+ </p>
+ <input
+ class="StaffProperties-fileField-id"
+ id="fileUpload"
+ type="file"
+ />
+ </div>
</div>
</div>
<div>
@@ -79136,9 +79228,13 @@ exports[`Storyshots Views / Staff / Staff members when loading 1`] = `
<div
class="StaffList-avatar-id"
>
- <img
- class="StaffList-avatarImage-id"
- />
+ <div
+ class="StaffList-avatarDefault-id"
+ >
+ <p
+ class="MuiTypography-root-id MuiTypography-body1-id"
+ />
+ </div>
</div>
<p
class="MuiTypography-root-id MuiTypography-body1-id"