260 lines
7.4 KiB
Plaintext
260 lines
7.4 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`SideMenu Authenticated 1`] = `
|
|
<div>
|
|
<div
|
|
data-testid="mocked-userprovider"
|
|
>
|
|
<ul
|
|
class="MuiList-root MuiList-padding"
|
|
>
|
|
<li>
|
|
<a
|
|
aria-disabled="false"
|
|
class="MuiButtonBase-root MuiListItem-root MuiListItem-gutters MuiListItem-button"
|
|
href="/home"
|
|
role="button"
|
|
tabindex="0"
|
|
>
|
|
<div
|
|
class="MuiListItemIcon-root"
|
|
>
|
|
<svg
|
|
aria-hidden="true"
|
|
class="MuiSvgIcon-root"
|
|
focusable="false"
|
|
viewBox="0 0 24 24"
|
|
>
|
|
<path
|
|
d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"
|
|
/>
|
|
</svg>
|
|
</div>
|
|
<div
|
|
class="MuiListItemText-root"
|
|
>
|
|
<span
|
|
class="MuiTypography-root MuiListItemText-primary MuiTypography-body1 MuiTypography-displayBlock"
|
|
>
|
|
Home
|
|
</span>
|
|
</div>
|
|
<span
|
|
class="MuiTouchRipple-root"
|
|
/>
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a
|
|
aria-disabled="false"
|
|
class="MuiButtonBase-root MuiListItem-root MuiListItem-gutters MuiListItem-button"
|
|
href="/packages"
|
|
role="button"
|
|
tabindex="0"
|
|
>
|
|
<div
|
|
class="MuiListItemIcon-root"
|
|
>
|
|
<svg
|
|
aria-hidden="true"
|
|
class="MuiSvgIcon-root"
|
|
focusable="false"
|
|
viewBox="0 0 24 24"
|
|
>
|
|
<path
|
|
d="M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM17 13l-5 5-5-5h3V9h4v4h3z"
|
|
/>
|
|
</svg>
|
|
</div>
|
|
<div
|
|
class="MuiListItemText-root"
|
|
>
|
|
<span
|
|
class="MuiTypography-root MuiListItemText-primary MuiTypography-body1 MuiTypography-displayBlock"
|
|
>
|
|
Deployments
|
|
</span>
|
|
</div>
|
|
<span
|
|
class="MuiTouchRipple-root"
|
|
/>
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a
|
|
aria-disabled="false"
|
|
class="MuiButtonBase-root MuiListItem-root MuiListItem-gutters MuiListItem-button"
|
|
href="/vehicles"
|
|
role="button"
|
|
tabindex="0"
|
|
>
|
|
<div
|
|
class="MuiListItemIcon-root"
|
|
>
|
|
<svg
|
|
aria-hidden="true"
|
|
class="MuiSvgIcon-root"
|
|
focusable="false"
|
|
viewBox="0 0 24 24"
|
|
>
|
|
<path
|
|
d="M12 4H5C3.34 4 2 5.34 2 7v8c0 1.66 1.34 3 3 3l-1 1v1h1l2-2.03L9 18v-5H4V5.98L13 6v2h2V7c0-1.66-1.34-3-3-3zM5 14c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm15.57-4.34c-.14-.4-.52-.66-.97-.66h-7.19c-.46 0-.83.26-.98.66L10 13.77l.01 5.51c0 .38.31.72.69.72h.62c.38 0 .68-.38.68-.76V18h8v1.24c0 .38.31.76.69.76h.61c.38 0 .69-.34.69-.72l.01-1.37v-4.14l-1.43-4.11zm-8.16.34h7.19l1.03 3h-9.25l1.03-3zM12 16c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm8 0c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1z"
|
|
/>
|
|
</svg>
|
|
</div>
|
|
<div
|
|
class="MuiListItemText-root"
|
|
>
|
|
<span
|
|
class="MuiTypography-root MuiListItemText-primary MuiTypography-body1 MuiTypography-displayBlock"
|
|
>
|
|
Vehicles
|
|
</span>
|
|
</div>
|
|
<span
|
|
class="MuiTouchRipple-root"
|
|
/>
|
|
</a>
|
|
</li>
|
|
<span>
|
|
<li>
|
|
<a
|
|
aria-disabled="false"
|
|
class="MuiButtonBase-root MuiListItem-root MuiListItem-gutters MuiListItem-button"
|
|
href="/datascope"
|
|
role="button"
|
|
tabindex="0"
|
|
>
|
|
<div
|
|
class="MuiListItemIcon-root"
|
|
>
|
|
<svg
|
|
aria-hidden="true"
|
|
class="MuiSvgIcon-root"
|
|
focusable="false"
|
|
viewBox="0 0 24 24"
|
|
>
|
|
<path
|
|
d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM9 17H7v-7h2v7zm4 0h-2V7h2v10zm4 0h-2v-4h2v4z"
|
|
/>
|
|
</svg>
|
|
</div>
|
|
<div
|
|
class="MuiListItemText-root"
|
|
>
|
|
<span
|
|
class="MuiTypography-root MuiListItemText-primary MuiTypography-body1 MuiTypography-displayBlock"
|
|
>
|
|
Datascope
|
|
</span>
|
|
</div>
|
|
<span
|
|
class="MuiTouchRipple-root"
|
|
/>
|
|
</a>
|
|
</li>
|
|
</span>
|
|
<ul
|
|
style="margin-left: 50px;"
|
|
>
|
|
<li>
|
|
<a
|
|
aria-disabled="false"
|
|
class="MuiButtonBase-root MuiListItem-root MuiListItem-gutters MuiListItem-button"
|
|
href="/datascope/battery"
|
|
role="button"
|
|
tabindex="0"
|
|
>
|
|
<div
|
|
class="MuiListItemText-root"
|
|
>
|
|
<span
|
|
class="MuiTypography-root MuiListItemText-primary MuiTypography-body1 MuiTypography-displayBlock"
|
|
>
|
|
Battery
|
|
</span>
|
|
</div>
|
|
<span
|
|
class="MuiTouchRipple-root"
|
|
/>
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a
|
|
aria-disabled="false"
|
|
class="MuiTypography-root MuiLink-root MuiLink-underlineHover MuiButtonBase-root MuiListItem-root makeStyles-menuExternalLink-54 MuiListItem-gutters MuiListItem-button MuiTypography-colorPrimary"
|
|
href="https://grafana.fiskerdps.com"
|
|
rel="noopener"
|
|
role="button"
|
|
tabindex="0"
|
|
target="_blank"
|
|
>
|
|
<div
|
|
class="MuiListItemText-root"
|
|
>
|
|
<span
|
|
class="MuiTypography-root MuiListItemText-primary MuiTypography-body1 MuiTypography-displayBlock"
|
|
>
|
|
Diagnostics
|
|
</span>
|
|
</div>
|
|
<span
|
|
class="MuiTouchRipple-root"
|
|
/>
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`SideMenu Unauthenticated 1`] = `
|
|
<div>
|
|
<div
|
|
data-testid="mocked-userprovider"
|
|
>
|
|
<ul
|
|
class="MuiList-root MuiList-padding"
|
|
>
|
|
<li>
|
|
<a
|
|
aria-disabled="false"
|
|
class="MuiButtonBase-root MuiListItem-root MuiListItem-gutters MuiListItem-button"
|
|
href="/home"
|
|
role="button"
|
|
tabindex="0"
|
|
>
|
|
<div
|
|
class="MuiListItemIcon-root"
|
|
>
|
|
<svg
|
|
aria-hidden="true"
|
|
class="MuiSvgIcon-root"
|
|
focusable="false"
|
|
viewBox="0 0 24 24"
|
|
>
|
|
<path
|
|
d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"
|
|
/>
|
|
</svg>
|
|
</div>
|
|
<div
|
|
class="MuiListItemText-root"
|
|
>
|
|
<span
|
|
class="MuiTypography-root MuiListItemText-primary MuiTypography-body1 MuiTypography-displayBlock"
|
|
>
|
|
Home
|
|
</span>
|
|
</div>
|
|
<span
|
|
class="MuiTouchRipple-root"
|
|
/>
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
`;
|